From 0b7392939e0dc4d79c7efbe565cca395c3ba9240 Mon Sep 17 00:00:00 2001 From: Sérgio M. Basto Date: Mar 21 2018 18:16:46 +0000 Subject: More fixes in data-empty sub-package Don't ghost any file, ghost files of *.cld are laready in clamav-update sub-package With data-empty require clamav-update. --- diff --git a/clamav.spec b/clamav.spec index e192f81..a303ca9 100644 --- a/clamav.spec +++ b/clamav.spec @@ -192,7 +192,6 @@ build applications using clamav. Summary: Virus signature data for the Clam Antivirus scanner Group: Applications/File Requires: clamav-filesystem = %version-%release -Requires: clamav-filesystem = %version-%release Provides: data(clamav) = full Conflicts: data(clamav) < full Conflicts: data(clamav) > full @@ -217,6 +216,8 @@ definitions. %package data-empty Summary: Empty data package for the Clam Antivirus scanner Group: Applications/File +Requires: clamav-filesystem = %version-%release +Requires: clamav-update = %version-%release Provides: data(clamav) = empty Conflicts: data(clamav) < empty Conflicts: data(clamav) > empty @@ -731,9 +732,7 @@ test "$1" = 0 || %_initrddir/clamav-milter condrestart >/dev/null || : %files data-empty -%defattr(-,%updateuser,%updateuser,-) -%ghost %attr(0664,%updateuser,%updateuser) %homedir/*.cld - +# empty, ghostfiles of *.cld are in update sub-package ## -----------------------