]> git.pld-linux.org Git - packages/SysVinit.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:40 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need rebuilt rpm (with new macros.pld) to build these

Changed files:
    SysVinit.spec -> 1.72

SysVinit.spec

index 68cf182551da432ba741885a11fe2dbdfb615b4f..9d63d99d0fa2bc47a338a5f20acfcc89c8c04cfa 100644 (file)
@@ -112,15 +112,13 @@ echo .so last.1 > $RPM_BUILD_ROOT%{_mandir}/man1/lastb.1
 gzip -9nf doc/Propaganda debian/changelog doc/sysvinit-%{version}.lsm  
 
 %pre
-groupadd -f -r -g 22 utmp
+GROUP=utmp; GID=22; %groupadd
 
 %post
 /sbin/telinit u || :
 
 %postun
-if [ "$1" = "0" ]; then
-       groupdel utmp
-fi
+GROUP=utmp; %groupdel
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.079994 seconds and 4 git commands to generate.