[systemtap/f14: 1/2] rhbz744907: Fix unowned directories
Josh Stone
jistone at fedoraproject.org
Tue Oct 18 22:04:05 UTC 2011
commit 5731edc919279fbd78ffe3fc7e843ab3cdd48f63
Author: Josh Stone <jistone at redhat.com>
Date: Tue Oct 18 14:33:17 2011 -0700
rhbz744907: Fix unowned directories
Most notably, %{_libdir}/systemtap and %{_libexecdir}/systemtap were
note owned by the subpackages which install files there.
systemtap.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/systemtap.spec b/systemtap.spec
index a371e4a..0562b90 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -424,6 +424,7 @@ exit 0
%{_datadir}/%{name}/tapset
%if %{with_bundled_elfutils}
+%dir %{_libdir}/%{name}
%{_libdir}/%{name}/lib*.so*
%endif
@@ -436,10 +437,12 @@ exit 0
%{_bindir}/stapsh
%{_bindir}/stap-merge
%{_bindir}/stap-report
+%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/stapio
%{_libexecdir}/%{name}/stap-env
%{_libexecdir}/%{name}/stap-authorize-cert
%if %{with_crash}
+%dir %{_libdir}/%{name}
%{_libdir}/%{name}/staplog.so*
%endif
%{_mandir}/man7/stappaths.7*
@@ -449,11 +452,13 @@ exit 0
%files testsuite
%defattr(-,root,root)
+%dir %{_datadir}/%{name}
%{_datadir}/%{name}/testsuite
%files server -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/stap-server
+%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/stap-serverd
%{_libexecdir}/%{name}/stap-start-server
%{_libexecdir}/%{name}/stap-stop-server
@@ -494,6 +499,7 @@ exit 0
%files grapher
%defattr(-,root,root)
%{_bindir}/stapgraph
+%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*.glade
%{_mandir}/man1/stapgraph.1*
%endif
More information about the scm-commits
mailing list