Hello community,

here is the log from the commit of package clamav for openSUSE:Factory checked 
in at 2017-10-09 19:44:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clamav (Old)
 and      /work/SRC/openSUSE:Factory/.clamav.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clamav"

Mon Oct  9 19:44:11 2017 rev:88 rq:532408 version:0.99.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/clamav/clamav.changes    2017-09-07 
22:15:51.964552542 +0200
+++ /work/SRC/openSUSE:Factory/.clamav.new/clamav.changes       2017-10-09 
19:47:37.781143634 +0200
@@ -1,0 +2,5 @@
+Tue Sep  5 23:30:39 UTC 2017 - jeng...@inai.de
+
+- Implement shared library guideline.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ clamav.spec ++++++
--- /var/tmp/diff_new_pack.GITJP6/_old  2017-10-09 19:47:38.581108476 +0200
+++ /var/tmp/diff_new_pack.GITJP6/_new  2017-10-09 19:47:38.585108300 +0200
@@ -73,6 +73,26 @@
 support, archive support, and multiple signature languages for
 detecting threats.
 
+%package -n libclamav7
+Summary:        ClamAV antivirus engine runtime
+Group:          System/Libraries
+
+%description -n libclamav7
+ClamAV is an antivirus engine designed for detecting trojans,
+viruses, malware and other malicious threats.
+
+%package devel
+Summary:        Development files for libclamav, an antivirus engine
+Group:          Development/Libraries/C and C++
+Requires:       libclamav7 = %version
+
+%description devel
+ClamAV is an antivirus engine designed for detecting trojans,
+viruses, malware and other malicious threats.
+
+This subpackage contains header files for developing applications
+that want to make use of libclamav.
+
 %prep
 %setup -q
 %patch1 -p1
@@ -106,7 +126,7 @@
 make V=1 %{?_smp_mflags}
 
 %install
-%makeinstall
+%make_install
 install -d -m755 %buildroot/var/lib/clamav
 install -d -m755 %buildroot/%_tmpfilesdir
 install -m644 %{S:6} %buildroot%_tmpfilesdir/clamav.conf
@@ -144,6 +164,9 @@
 VALGRIND_GENSUP=1 make check
 %endif
 
+%post   -n libclamav7 -p /sbin/ldconfig
+%postun -n libclamav7 -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root,-)
 %config(noreplace) %_sysconfdir/*.conf
@@ -157,14 +180,21 @@
 %doc %_mandir/*/*
 %_bindir/*
 %_sbindir/*
-%_includedir/*
-%_libdir/lib*
 %_libdir/pkgconfig/libclamav.pc
 %defattr(-,vscan,vscan)
 %dir %attr(750,vscan,vscan) /var/spool/amavis
 %dir /var/lib/clamav
 %ghost %attr(755,vscan,vscan) /run/clamav
 
+%files -n libclamav7
+%defattr(-,root,root)
+%_libdir/libclam*.so.7*
+
+%files devel
+%defattr(-,root,root)
+%_libdir/libclam*.so
+%_includedir/*
+
 %pre
 getent group vscan >/dev/null || %_sbindir/groupadd -r vscan || :
 getent passwd vscan >/dev/null || \
@@ -174,7 +204,6 @@
 %service_add_pre clamd.service freshclam.service clamav-milter.service
 
 %post
-/sbin/ldconfig
 systemd-tmpfiles --create %_tmpfilesdir/clamav.conf
 %service_add_post clamd.service freshclam.service clamav-milter.service
 
@@ -182,7 +211,6 @@
 %service_del_preun clamd.service freshclam.service clamav-milter.service
 
 %postun
-/sbin/ldconfig
 %service_del_postun clamd.service freshclam.service clamav-milter.service
 
 %changelog



Reply via email to