From bdfa7e0d591138e2bda294e1741ee6263a475335539982847948a5d6c495bc33 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Wed, 26 Feb 2025 11:13:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qtdoc?expand=0&rev=27 --- libqt5-qtdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libqt5-qtdoc.spec b/libqt5-qtdoc.spec index 0e48352..a3f5c40 100644 --- a/libqt5-qtdoc.spec +++ b/libqt5-qtdoc.spec @@ -141,8 +141,11 @@ required. # (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" -%define _libdir /usr/lib64 +_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