]> git.pld-linux.org Git - packages/aegis.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:
    aegis.spec -> 1.24

aegis.spec

index a87f1e1fddd965298bb1cdd342b20820af914b3e..2ad12649399235bf2b69805e0950d2ae08ba1c88 100644 (file)
@@ -45,14 +45,13 @@ gzip -9nf lib/en/{*.{txt,ps},notes/locale.man} README \
        $RPM_BUILD_ROOT%{_mandir}/man{1,5}/*
 
 %pre
-%{_sbindir}/groupadd -g 65 aegis
-%{_sbindir}/useradd -u 65 -g 65 -c "Project change supervisor" aegis
+GID=65; %groupadd
+UID=65; COMMENT="Project change supervisor"; HOMEDIR=/home/users/aegis
+SHELL=/bin/bash; %useradd
 
 %postun
-if [ $1 = 0 ] ; then
-       %{_sbindir}/userdel aegis
-       %{_sbindir}/groupdel aegis
-fi
+%userdel
+%groupdel
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.072528 seconds and 4 git commands to generate.