]> git.pld-linux.org Git - packages/amavisd.git/blobdiff - amavisd.spec
- use user/group macros
[packages/amavisd.git] / amavisd.spec
index 9b48c73bf0bccb6c835259941d9a10ff91b03d0e..8c3e11e5c79f797ced1d84b1b431c31d03c6675e 100644 (file)
@@ -53,6 +53,7 @@ Requires:     unarj
 Requires:      unrar
 Requires:      zoo
 Requires:      amavisd-daemon
+Provides:      user(amavis)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     AMaViS
 Obsoletes:     amavis
@@ -265,7 +266,7 @@ fi
 
 %postun
 if [ "$1" = "0" ]; then
-       /usr/sbin/userdel amavis
+       %userremove amavis
 fi
 
 %post
This page took 0.042677 seconds and 4 git commands to generate.