mock mock.spec,1.7,1.8

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Sun Jun 5 14:52:01 UTC 2005


Author: skvidal

Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1799

Modified Files:
	mock.spec 
Log Message:

changes to spec file for fedora extras



Index: mock.spec
===================================================================
RCS file: /cvs/fedora/mock/mock.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mock.spec	5 Jun 2005 08:03:03 -0000	1.7
+++ mock.spec	5 Jun 2005 14:51:59 -0000	1.8
@@ -33,14 +33,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %pre
-if [ $1 == 1 ]; then
+if [ $1 -eq 1 ]; then
     groupadd -r mock >/dev/null 2>&1 || :
 fi
 
-%postun
-if [ $1 == 0 ]; then
-   groupdel mock >/dev/null 2>&1 || :
-fi
 
 
 %files




More information about the fedora-extras-commits mailing list