summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskvidal <skvidal>2005-06-05 14:51:59 +0000
committerskvidal <skvidal>2005-06-05 14:51:59 +0000
commitd973ad1db297026ecee2fc599395f923568f94d2 (patch)
tree75ce311215a4c650a6a26d1afc4043e68654dd58
parent101e43d37ec9afc91b14e7357f6302456f184814 (diff)
downloadmock-d973ad1db297026ecee2fc599395f923568f94d2.tar.gz
mock-d973ad1db297026ecee2fc599395f923568f94d2.tar.xz
mock-d973ad1db297026ecee2fc599395f923568f94d2.zip
changes to spec file for fedora extras
-rw-r--r--mock.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/mock.spec b/mock.spec
index 14389b9..fa7eb74 100644
--- a/mock.spec
+++ b/mock.spec
@@ -33,14 +33,10 @@ ln -s fedora-development-i386-core.cfg default.cfg
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