Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2022-06-03 14:15:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and      /work/SRC/openSUSE:Factory/.qhull.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qhull"

Fri Jun  3 14:15:18 2022 rev:22 rq:980299 version:2020.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/qhull/qhull.changes      2021-04-24 
23:07:33.307259220 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new.1548/qhull.changes    2022-06-03 
14:15:27.065221735 +0200
@@ -1,0 +2,8 @@
+Tue May 24 09:03:45 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Fix rpmlint errors:
+  * E: double-slash-in-pkgconfig-path
+  * E: binary-or-shlib-defines-rpath (boo#1199059)
+- Fix incorrect includedir path in qhull.pc
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ qhull.spec ++++++
--- /var/tmp/diff_new_pack.LUmE7y/_old  2022-06-03 14:15:27.797222687 +0200
+++ /var/tmp/diff_new_pack.LUmE7y/_new  2022-06-03 14:15:27.801222692 +0200
@@ -94,10 +94,16 @@
 # Needed for static lib libqhullcpp.a
 export CXXFLAGS+=" -ffat-lto-objects"
 
+# Don't assume LIB_INSTALL_DIR is relative
+sed -i 's#@LIB_INSTALL_DIR@#%{_lib}#' build/qhull.pc.in
+
+# Neither is INCLUDE_INSTALL_DIR
+sed -i 's#@INCLUDE_INSTALL_DIR@#include#' build/qhull.pc.in
+
 %cmake \
         -DDOC_INSTALL_DIR="%{_docdir}/%{name}" \
         -DINCLUDE_INSTALL_DIR="%{_includedir}" \
-        -DLIB_INSTALL_DIR="%{_lib}" \
+        -DLIB_INSTALL_DIR="%{_libdir}" \
         -DBIN_INSTALL_DIR="%{_bindir}" \
         -DMAN_INSTALL_DIR="%{_mandir}/man1/"
 %cmake_build qhullcpp
@@ -111,6 +117,9 @@
 %endif
 rm %{buildroot}%{_docdir}/%{name}/COPYING.txt
 
+# Fix rpmlint warning: E: double-slash-in-pkgconfig-path
+sed -i 's#//#/#' %{buildroot}%{_libdir}/pkgconfig/*.pc
+
 # Manually install cpp lib since it isn't installed by make install
 find ./ -name "libqhullcpp.a" -print -exec install -m0644 {} 
%{buildroot}%{_libdir}/ \;
 
@@ -118,7 +127,7 @@
 rm %{buildroot}%{_libdir}/pkgconfig/qhullstatic*.pc
 
 # Remove deprecated qhull headers
-rm -fr %{buildroot}%{_includedir}/libqhull
+rm -r %{buildroot}%{_includedir}/libqhull
 
 %post -n %{libname} -p /sbin/ldconfig
 %postun -n %{libname} -p /sbin/ldconfig

Reply via email to