X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=clamav.spec;h=a66373550989072085a77ebf5e52705bf6183052;hb=refs%2Fheads%2FRA-branch;hp=bcf102cecfea404a7a76bce6c0d3cc6e00efe5d3;hpb=332dc9bca18f149a62a8f55f059b23d87b8ed41c;p=packages%2Fclamav.git diff --git a/clamav.spec b/clamav.spec index bcf102c..a663735 100644 --- a/clamav.spec +++ b/clamav.spec @@ -8,24 +8,24 @@ Summary: An anti-virus utility for Unix Summary(pl): Antywirusowe narzêdzie dla Uniksów Name: clamav -Version: 0.84 +Version: 0.88.2 Release: 1 Epoch: 0 License: GPL Group: Applications Source0: http://dl.sourceforge.net/clamav/%{name}-%{version}.tar.gz -# Source0-md5: c43213da01d510faf117daa9a4d5326c +# Source0-md5: f0a1c610a1fb70bd748a08bea69c736c Source1: %{name}.init Source2: %{name}.sysconfig Source3: %{name}-milter.init Source4: %{name}-cron-updatedb Source5: %{name}.logrotate # Remember to update date after databases upgrade -%define database_version 20050430 +%define database_version 20060501 Source6: http://db.local.clamav.net/daily.cvd -# Source6-md5: be42ab8ce086b80155be1088b413be26 +# Source6-md5: 3604d739468c1ded119ea42f319cfd54 Source7: http://db.local.clamav.net/main.cvd -# Source7-md5: 59f425f2dffe9a98926bfae94f299880 +# Source7-md5: ca72b8654317e541a6c1fe67f21c607c Source8: %{name}-post-updatedb Source9: %{name}-milter.sysconfig Patch0: %{name}-pld_config.patch @@ -51,7 +51,7 @@ Requires(postun): sed >= 4.0 Requires(postun,pre): /usr/sbin/usermod Requires(post,preun): /sbin/chkconfig Requires: /usr/sbin/usermod -Requires: %{name}-libs = %{epoch}%{version}-%{release} +Requires: %{name}-libs = %{epoch}:%{version}-%{release} Requires: bc Provides: group(clamav) Provides: user(clamav) @@ -225,7 +225,7 @@ fi %pre if [ -n "`/usr/bin/getgid clamav`" ]; then if [ "`/usr/bin/getgid clamav`" != 43 ]; then - echo "Warning: group clamav doesn't have gid=43. Correct this before installing clamav" 1>&2 + echo "Error: group clamav doesn't have gid=43. Correct this before installing clamav" 1>&2 exit 1 fi else @@ -234,7 +234,7 @@ else fi if [ -n "`/bin/id -u clamav 2>/dev/null`" ]; then if [ "`/bin/id -u clamav`" != 43 ]; then - echo "Warning: user clamav doesn't have uid=43. Correct this before installing clamav" 1>&2 + echo "Error: user clamav doesn't have uid=43. Correct this before installing clamav" 1>&2 exit 1 fi else