diff --git a/clamav.spec b/clamav.spec index 2bc0418..e03bcaa 100644 --- a/clamav.spec +++ b/clamav.spec @@ -19,7 +19,7 @@ Summary: End-user tools for the Clam Antivirus scanner Name: clamav Version: 0.94.2 -Release: %release_func 2%{?snapshot:.%snapshot} +Release: %release_func 3%{?snapshot:.%snapshot} License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2} Group: Applications/File @@ -81,6 +81,7 @@ Requires: pkgconfig %package data Summary: Virus signature data for the Clam Antivirus scanner Group: Applications/File +BuildArch: noarch Requires(pre): clamav-filesystem = %version-%release Requires(postun): clamav-filesystem = %version-%release Provides: data(clamav) = full @@ -90,6 +91,7 @@ Conflicts: data(clamav) > full %package data-empty Summary: Empty data package for the Clam Antivirus scanner Group: Applications/File +BuildArch: noarch Provides: data(clamav) = empty Conflicts: data(clamav) < empty Conflicts: data(clamav) > empty @@ -117,6 +119,7 @@ Requires: clamav-lib = %version-%release %package server-sysv Summary: SysV initscripts for clamav server Group: System Environment/Daemons +BuildArch: noarch Provides: init(clamav-server) = sysv Requires: clamav-server = %version-%release Requires(pre): %_initrddir @@ -156,6 +159,7 @@ Summary: SysV initscripts for the clamav sendmail-milter Group: System Environment/Daemons Provides: init(clamav-milter) = sysv Requires: clamav-milter = %version-%release +BuildArch: noarch Requires(post): user(%milteruser) clamav-milter Requires(preun): user(%milteruser) clamav-milter Requires(pre): %_initrddir @@ -548,6 +552,10 @@ test "$1" = 0 || %_initrddir/clamav-milter condrestart >/dev/null || : %changelog +* Wed Feb 25 2009 Enrico Scholz - 0.94.2-3 +- made some subpackages noarch +- fixed typo in SysV initscript which removes 'touch' file (#473513) + * Mon Feb 23 2009 Fedora Release Engineering - 0.94.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/clamd-wrapper b/clamd-wrapper index c32e34e..14c04a5 100644 --- a/clamd-wrapper +++ b/clamd-wrapper @@ -52,7 +52,7 @@ stop () { killproc $procname RETVAL=$? echo - [ $RETVAL -eq 0 ] && rm -f touch $lockfile + [ $RETVAL -eq 0 ] && rm -f $lockfile return $RETVAL } diff --git a/verinfo b/verinfo index a4a0b38..814d953 100644 --- a/verinfo +++ b/verinfo @@ -1,2 +1,2 @@ -http://prdownloads.sourceforge.net/sourceforge/clamav/ +http://sourceforge.net/project/showfiles.php?group_id=86638&package_id=90197 clamav-([0-9.-]*?)\.tar\.