This commit is contained in:
ensc 2009-02-25 08:58:23 +00:00
parent b373eeaf74
commit 6e801b5899
3 changed files with 11 additions and 3 deletions

View File

@ -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 <enrico.scholz@informatik.tu-chemnitz.de> - 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 <rel-eng@lists.fedoraproject.org> - 0.94.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

View File

@ -52,7 +52,7 @@ stop () {
killproc $procname
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f touch $lockfile
[ $RETVAL -eq 0 ] && rm -f $lockfile
return $RETVAL
}

View File

@ -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\.