summaryrefslogtreecommitdiffstats
path: root/systemtap.spec.in
diff options
context:
space:
mode:
authordsmith <dsmith>2008-02-04 15:02:05 +0000
committerdsmith <dsmith>2008-02-04 15:02:05 +0000
commit378a5245c3087adc2b7be909cee5a7bdad67f88b (patch)
treeb4c4ba74358587896fb964b0dc5a9a64dd0452bc /systemtap.spec.in
parent5e31adfd421713a07d537aa30e93493e5d0a54c6 (diff)
downloadsystemtap-steved-378a5245c3087adc2b7be909cee5a7bdad67f88b.tar.gz
systemtap-steved-378a5245c3087adc2b7be909cee5a7bdad67f88b.tar.xz
systemtap-steved-378a5245c3087adc2b7be909cee5a7bdad67f88b.zip
2008-02-04 David Smith <dsmith@redhat.com>
PR 5670 (parital) * systemtap.spec.in: Moved %pre section to the systemtap-runtime rpm.
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r--systemtap.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemtap.spec.in b/systemtap.spec.in
index 2bc14bc1..96de2284 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -56,7 +56,6 @@ BuildRequires: crash-devel zlib-devel
Requires: gcc make
# Suggest: kernel-debuginfo
Requires: systemtap-runtime = %{version}-%{release}
-Requires(pre): shadow-utils
%if %{with_bundled_elfutils}
Source1: elfutils-%{elfutils_version}.tar.gz
@@ -80,6 +79,7 @@ Group: Development/System
License: GPLv2+
URL: http://sourceware.org/systemtap/
Requires: kernel >= 2.6.9-11
+Requires(pre): shadow-utils
%description runtime
SystemTap runtime is the runtime component of an instrumentation
@@ -166,7 +166,7 @@ cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
%clean
rm -rf ${RPM_BUILD_ROOT}
-%pre
+%pre runtime
getent group stapdev >/dev/null || groupadd -r stapdev
getent group stapusr >/dev/null || groupadd -r stapusr
exit 0