[clamav/el5/master] Obsolete clamav-filesystem in clamav-db package, since this is the first package in the installation

Jan-Frode Myklebust janfrode at fedoraproject.org
Tue Mar 15 10:21:57 UTC 2011


commit a89e6fd21e435b5cec12d136672b4ce32a859c46
Author: Jan-Frode Myklebust <janfrode at tanso.net>
Date:   Tue Mar 15 11:20:34 2011 +0100

    Obsolete clamav-filesystem in clamav-db package, since this
    is the first package in the installation chain -- and hopefull
    this should fix the dependency problem with old clamav-filesystem.

 clamav.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index 4827933..c5573ef 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -5,7 +5,7 @@
 Summary: Anti-virus software
 Name: clamav
 Version: 0.97
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv2
 Group: Applications/System
 URL: http://www.clamav.net/
@@ -28,8 +28,6 @@ Provides: libclamav
 Obsoletes: libclamav < %{version}-%{release}
 Provides: clamav-lib = %{version}-%{release}
 Obsoletes: clamav-lib < %{version}-%{release}
-Provides: clamav-filesystem = %{version}-%{release}
-Obsoletes: clamav-filesystem < %{version}-%{release}
 
 %description
 Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of
@@ -85,6 +83,10 @@ Obsoletes: clamav-update < %{version}-%{release}
 Provides: clamav-data = %{version}-%{release}
 Obsoletes: clamav-data < %{version}-%{release}
 Obsoletes: clamav-data-empty <= %{version}-%{release}
+# Ugly to put these in the db-package, but needed
+# here to handle upgrades on EL5.
+Provides: clamav-filesystem = %{version}-%{release}
+Obsoletes: clamav-filesystem < %{version}-%{release}
 
 %description db
 The actual virus database for %{name}


More information about the scm-commits mailing list