X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=SysVinit.spec;fp=SysVinit.spec;h=4e43a6054ca0305c70a47e5b3b3a12eece37edf6;hb=c567601e81767a32eed4f40447367df25f5f8da8;hp=016fffb96e5486aa96f6773e868adf8211444299;hpb=1b92781e197067623f19554fa46a3b6f5fb625d5;p=packages%2FSysVinit.git diff --git a/SysVinit.spec b/SysVinit.spec index 016fffb..4e43a60 100644 --- a/SysVinit.spec +++ b/SysVinit.spec @@ -23,15 +23,15 @@ Patch4: sysvinit-man.patch Patch5: sysvinit-halt.patch Patch6: sysvinit-blowfish.patch BuildRequires: glibc-devel -Prereq: /bin/awk -Prereq: shadow +PreReq: shadow +Requires: /bin/awk Requires: login Requires: logrotate Requires: mingetty Requires(post): fileutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _sbindir /sbin +%define _sbindir /sbin %description The SysVinit package contains a group of processes that control the @@ -103,6 +103,9 @@ bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} gzip -9nf doc/{Propaganda,Changelog,*.lsm} +%clean +rm -rf $RPM_BUILD_ROOT + %pre groupadd -f -r -g 22 utmp @@ -122,9 +125,6 @@ if [ "$1" = "0" ]; then groupdel utmp fi -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(644,root,root,755) %doc doc/*.gz