From 378a5245c3087adc2b7be909cee5a7bdad67f88b Mon Sep 17 00:00:00 2001 From: dsmith Date: Mon, 4 Feb 2008 15:02:05 +0000 Subject: 2008-02-04 David Smith PR 5670 (parital) * systemtap.spec.in: Moved %pre section to the systemtap-runtime rpm. --- ChangeLog | 6 ++++++ systemtap.spec.in | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7b70e90..127ee7fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-04 David Smith + + PR 5670 (parital) + * systemtap.spec.in: Moved %pre section to the systemtap-runtime + rpm. + 2008-01-30 David Smith PR 5650 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 -- cgit