[clamav] removed old %trigger which renamed the clamav user- and groupnames to clamupdate

ensc ensc at fedoraproject.org
Wed Aug 11 11:14:12 UTC 2010


commit 2e749a5857ff8ff30930212d2fa5dc08079e8010
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Wed Aug 11 13:10:23 2010 +0200

    removed old %trigger which renamed the clamav user- and groupnames to clamupdate

 clamav.spec |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index bd79214..cd0a2c1 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -491,14 +491,6 @@ rm -rf "$RPM_BUILD_ROOT"
 
 ## ------------------------------------------------------------
 
-%triggerprein filesystem -- clamav-filesystem < 0.96
-## REMOVE me in F14 or F15 (added in pre F12)
-! /usr/bin/id clamav &>/dev/null || /usr/bin/id %username &>/dev/null || {
-	/usr/sbin/usermod  -l %username clamav || :
-	/usr/sbin/groupmod -n %username clamav || :
-	logger -t rpm/clamav "Renamed clamav user+group to %username" || :
-}
-
 %pre filesystem
 %__fe_groupadd 4 -r %username &>/dev/null || :
 %__fe_useradd  4 -r -s /sbin/nologin -d %homedir -M          \
@@ -714,6 +706,10 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
 
 
 %changelog
+* Wed Aug 11 2010 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
+- removed old %%trigger which renamed the 'clamav' user- and groupnames
+  to 'clamupdate'
+
 * Tue Jul 13 2010 Dan Horák <dan[at]danny.cz> - 0.96.1-1401
 - ocaml not available (at least) on s390(x)
 


More information about the scm-commits mailing list