Hello community,

here is the log from the commit of package clamav for openSUSE:Factory checked 
in at 2020-04-16 23:04:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clamav (Old)
 and      /work/SRC/openSUSE:Factory/.clamav.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clamav"

Thu Apr 16 23:04:37 2020 rev:106 rq:794379 version:0.102.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/clamav/clamav.changes    2020-02-07 
15:56:25.263574437 +0100
+++ /work/SRC/openSUSE:Factory/.clamav.new.2738/clamav.changes  2020-04-16 
23:04:38.671749080 +0200
@@ -1,0 +2,5 @@
+Wed Apr  1 10:01:36 UTC 2020 - Martin Pluskal <mplus...@suse.com>
+
+- Drop python build dependency as it is not needed
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ clamav.spec ++++++
--- /var/tmp/diff_new_pack.0JZM9v/_old  2020-04-16 23:04:40.455750668 +0200
+++ /var/tmp/diff_new_pack.0JZM9v/_new  2020-04-16 23:04:40.459750672 +0200
@@ -16,9 +16,8 @@
 #
 
 
-%bcond_with clammspack
-
 %define clamav_check --enable-check
+%bcond_with clammspack
 Name:           clamav
 Version:        0.102.2
 Release:        0
@@ -47,9 +46,6 @@
 BuildRequires:  libbz2-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libjson-c-devel
-%if %{without clammspack}
-BuildRequires:  libmspack-devel
-%endif
 BuildRequires:  libopenssl-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
@@ -57,7 +53,6 @@
 BuildRequires:  pcre2-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pwdutils
-BuildRequires:  python-devel
 BuildRequires:  sed
 BuildRequires:  sendmail-devel
 BuildRequires:  systemd-rpm-macros
@@ -73,6 +68,9 @@
 Provides:       clamav-nodb = %version
 Obsoletes:      clamav-nodb <= 0.98.4
 %systemd_requires
+%if %{without clammspack}
+BuildRequires:  libmspack-devel
+%endif
 
 %description
 ClamAV is an antivirus engine designed for detecting trojans,
@@ -142,7 +140,7 @@
 %configure \
        --disable-clamav \
        --disable-static \
-       --with-dbdir=/var/lib/clamav \
+       --with-dbdir=%{_localstatedir}/lib/clamav \
        --with-user=vscan \
        --with-group=vscan \
        --enable-milter \
@@ -159,10 +157,10 @@
 
 %install
 %make_install
-install -d -m755 %buildroot/var/lib/clamav
+install -d -m755 %buildroot%{_localstatedir}/lib/clamav
 install -d -m755 %buildroot/%_tmpfilesdir
 install -m644 %SOURCE6 %buildroot%_tmpfilesdir/clamav.conf
-mkdir -p %buildroot/var/spool/amavis
+mkdir -p %buildroot%{_localstatedir}/spool/amavis
 mkdir -p -m 0755 %buildroot/run/clamav
 find %buildroot -type f -name "*.la" -delete -print
 
@@ -219,8 +217,8 @@
 %_bindir/*
 %_sbindir/*
 %defattr(-,vscan,vscan)
-%dir %attr(750,vscan,vscan) /var/spool/amavis
-%dir /var/lib/clamav
+%dir %attr(750,vscan,vscan) %{_localstatedir}/spool/amavis
+%dir %{_localstatedir}/lib/clamav
 %ghost %attr(755,vscan,vscan) /run/clamav
 
 %files -n libclamav9
@@ -244,7 +242,7 @@
 getent group vscan >/dev/null || %_sbindir/groupadd -r vscan
 getent passwd vscan >/dev/null || \
        %_sbindir/useradd -r -o -g vscan -u 65 -s /bin/false \
-       -c "Vscan account" -d /var/spool/amavis vscan
+       -c "Vscan account" -d %{_localstatedir}/spool/amavis vscan
 %_sbindir/usermod vscan -g vscan
 %service_add_pre clamd.service freshclam.service clamav-milter.service
 




Reply via email to