Hello community,

here is the log from the commit of package clamav for openSUSE:Factory checked 
in at 2016-07-24 19:52:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clamav (Old)
 and      /work/SRC/openSUSE:Factory/.clamav.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clamav"

Changes:
--------
--- /work/SRC/openSUSE:Factory/clamav/clamav.changes    2016-06-25 
02:23:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.clamav.new/clamav.changes       2016-07-24 
19:53:21.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Jun 30 13:42:20 UTC 2016 - fwe...@suse.com
+
+- Added BuildRequires systemd-rpm-macros
+- Added %ghost entry for /run/clamav
+- Use /run instead of /var/run because it is a symlink nowadays
+  (clamav-tmpfiles.conf)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clamav.spec ++++++
--- /var/tmp/diff_new_pack.6ADdr9/_old  2016-07-24 19:53:22.000000000 +0200
+++ /var/tmp/diff_new_pack.6ADdr9/_new  2016-07-24 19:53:22.000000000 +0200
@@ -57,6 +57,7 @@
 Patch1:         clamav-conf.patch
 Patch3:         clamav-gcc47.patch
 BuildRequires:  systemd
+BuildRequires:  systemd-rpm-macros
 %systemd_requires
 
 %description
@@ -102,8 +103,9 @@
 %makeinstall
 install -d -m755 %buildroot/var/lib/clamav
 install -d -m755 %buildroot/%_tmpfilesdir
-install -m644 %SOURCE6 %buildroot%_tmpfilesdir/clamav.conf
+install -m644 %{S:6} %buildroot%_tmpfilesdir/clamav.conf
 mkdir -p %buildroot/var/spool/amavis
+mkdir -p -m 0755 %buildroot/run/clamav
 rm %buildroot/%_libdir/*.la
 # Remove bogus dependencies from libclamav.pc
 sed -i 's/^Libs: .*/Libs: -lclamav/' %buildroot%_libdir/pkgconfig/libclamav.pc
@@ -117,9 +119,12 @@
 
 # Systemd...
 install -d -m 0755 %buildroot/%{_unitdir}
-install -m 0644 %{SOURCE7} %buildroot/%{_unitdir}/clamd.service
-install -m 0644 %{SOURCE8} %buildroot/%{_unitdir}/freshclam.service
-install -m 0644 %{SOURCE9} %buildroot/%{_unitdir}/clamav-milter.service
+install -m 0644 %{S:7} %buildroot/%{_unitdir}/clamd.service
+install -m 0644 %{S:8} %buildroot/%{_unitdir}/freshclam.service
+install -m 0644 %{S:9} %buildroot/%{_unitdir}/clamav-milter.service
+rm -f %buildroot/%{_unitdir}/clamav-daemon.service
+rm -f %buildroot/%{_unitdir}/clamav-daemon.socket
+rm -f %buildroot/%{_unitdir}/clamav-freshclam.service
 # this is broken if system does not have systemd so don't 
 # use it at all on systems without mandatory systemd
 for srvname in clamd freshclam clamav-milter;do
@@ -152,6 +157,7 @@
 %defattr(-,vscan,vscan)
 %dir %attr(750,vscan,vscan) /var/spool/amavis
 %dir /var/lib/clamav
+%ghost %attr(755,vscan,vscan) /run/clamav
 
 %pre
 %_sbindir/groupadd -r vscan 2> /dev/null || :

++++++ clamav-tmpfiles.conf ++++++
--- /var/tmp/diff_new_pack.6ADdr9/_old  2016-07-24 19:53:22.000000000 +0200
+++ /var/tmp/diff_new_pack.6ADdr9/_new  2016-07-24 19:53:22.000000000 +0200
@@ -1,2 +1,2 @@
-# clamav needs a directory in /var/run:
-d /var/run/clamav 0755 vscan vscan -
+# clamav needs a directory in /run:
+d /run/clamav 0755 vscan vscan -



Reply via email to