From: Frank Ch. Eigler Date: Thu, 11 Oct 2012 18:06:21 +0000 (-0400) Subject: BZ863832 part 2, add stap-server home directory into %install too X-Git-Tag: release-2.1~373 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ef079a5cb813898df50aa35b0183e5ed585fa556;p=systemtap.git BZ863832 part 2, add stap-server home directory into %install too --- diff --git a/systemtap.spec b/systemtap.spec index 15a0d2882..36b1a351e 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -380,6 +380,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d @@ -504,10 +505,10 @@ exit 0 %dir %{_sysconfdir}/stap-server %dir %{_sysconfdir}/stap-server/conf.d %config(noreplace) %{_sysconfdir}/sysconfig/stap-server +%dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server %dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server %ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log %ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server -%ghost %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server %doc initscript/README.stap-server %doc README README.unprivileged AUTHORS NEWS COPYING