Hello community,

here is the log from the commit of package libdevil for openSUSE:Factory 
checked in at 2018-05-16 11:40:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdevil (Old)
 and      /work/SRC/openSUSE:Factory/.libdevil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdevil"

Wed May 16 11:40:25 2018 rev:7 rq:607331 version:1.7.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdevil/libdevil.changes        2018-04-19 
15:27:21.012297515 +0200
+++ /work/SRC/openSUSE:Factory/.libdevil.new/libdevil.changes   2018-05-16 
11:41:51.299728029 +0200
@@ -1,0 +2,7 @@
+Sat May 12 10:57:22 UTC 2018 - antoine.belv...@opensuse.org
+
+- Fix %install_info_delete usage:
+  * It has to be performed in %preun, not %postun.
+  * See 
https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25install_info_delete.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libdevil.spec ++++++
--- /var/tmp/diff_new_pack.qaA9AM/_old  2018-05-16 11:41:52.035701244 +0200
+++ /var/tmp/diff_new_pack.qaA9AM/_new  2018-05-16 11:41:52.039701098 +0200
@@ -91,7 +91,8 @@
 License:        LGPL-2.1
 Group:          System/Libraries
 %if 0%{?suse_version}
-PreReq:         %install_info_prereq
+Requires(post): %install_info_prereq
+Requires(preun): %install_info_prereq
 %endif
 
 %description -n  libIL%{libIL}
@@ -168,13 +169,14 @@
 make install DESTDIR=%{buildroot}
 rm -f %{buildroot}%{_libdir}/*.la
 
+%preun -n libIL%{libIL}
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/DevIL_manual.info.gz
+
 %post -n libIL%{libIL}
 /sbin/ldconfig
 %install_info --info-dir=%{_infodir} %{_infodir}/DevIL_manual.info.gz
 
-%postun -n libIL%{libIL}
-/sbin/ldconfig
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/DevIL_manual.info.gz
+%postun -n libIL%{libIL} -p /sbin/ldconfig
 
 %files -n libIL%{libIL}
 %defattr(-,root,root)


Reply via email to