Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libqt5-qtdoc for openSUSE:Factory 
checked in at 2025-02-27 14:50:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtdoc (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtdoc.new.25152 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtdoc"

Thu Feb 27 14:50:41 2025 rev:53 rq:1248702 version:5.15.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtdoc/libqt5-qtdoc.changes        
2024-09-08 12:00:50.608610682 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtdoc.new.25152/libqt5-qtdoc.changes     
2025-02-27 14:53:41.087363593 +0100
@@ -1,0 +2,6 @@
+Wed Feb 26 10:14:12 UTC 2025 - Christophe Marin <[email protected]>
+
+- Redefine %_libdir on 64 bit archs to work around
+  gh#rpm-software-management/rpm#3126
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libqt5-qtdoc.spec ++++++
--- /var/tmp/diff_new_pack.QoYMaG/_old  2025-02-27 14:53:43.927482097 +0100
+++ /var/tmp/diff_new_pack.QoYMaG/_new  2025-02-27 14:53:43.931482264 +0100
@@ -137,6 +137,16 @@
 %autosetup -p1 -n qt-everywhere-src-%{version}
 
 %build
+# Due to a behaviour change in rpm, %%libdir is always '/usr/lib' with 
'BuildArch: noarch'. We need to redefine it to find tools in 
'/usr/lib64/qt5/bin' when needed
+# (https://github.com/rpm-software-management/rpm/issues/3126)
+if [ -e "/usr/lib64/qt5/bin/qdoc" ]; then
+echo "Redefining _libdir to work around rpm behaviour change"
+_libdir=/usr/lib64
+else
+_libdir=/usr/lib
+fi
+%define _libdir $_libdir
+
 # We need to link to some of the programs used as that the source assumes they 
were just built.
 ln -s %{_bindir}/rcc-qt5 qtbase/bin/rcc
 ln -s %{_bindir}/uic-qt5 qtbase/bin/uic
@@ -144,9 +154,6 @@
 ln -s %{_libqt5_bindir} qttools/bin
 
 # Create the Makefiles which are required.
-# To-Do: Clean up of the options and with this also the BuildRequires.
-
-# FIXME: you should use the %%configure macro
 ./configure \
     -verbose \
     -prefix %{_prefix} \

Reply via email to