From 8c455e214fe24b1969373556c660d049e7c9be2ea3c499f79f88e8bd010b8d7a Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Wed, 22 Nov 2023 20:02:30 +0000 Subject: [PATCH] - Fix RPATH problem with cmake optionis instead of chrpath OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kbibtex?expand=0&rev=64 --- kbibtex.changes | 5 +++++ kbibtex.spec | 11 +---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/kbibtex.changes b/kbibtex.changes index f418773..aba721f 100644 --- a/kbibtex.changes +++ b/kbibtex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 22 20:01:21 UTC 2023 - Cor Blom + +- Fix RPATH problem with cmake optionis instead of chrpath + ------------------------------------------------------------------- Sun Oct 29 21:38:16 UTC 2023 - Cor Blom diff --git a/kbibtex.spec b/kbibtex.spec index 4c5c453..03b4258 100644 --- a/kbibtex.spec +++ b/kbibtex.spec @@ -25,7 +25,6 @@ License: GPL-2.0-only Group: Productivity/Publishing/TeX/Utilities URL: https://apps.kde.org/nl/kbibtex/ Source: https://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz -BuildRequires: chrpath BuildRequires: extra-cmake-modules BuildRequires: libicu-devel BuildRequires: libpoppler-qt5-devel @@ -73,7 +72,7 @@ embedded into Kile or Konqueror. %autosetup -n %{name}-%{version} %build -%cmake_kf5 -d build +%cmake_kf5 -d build -- -DCMAKE_SKIP_RPATH=FALSE -DCMAKE_SKIP_INSTALL_RPATH=TRUE %cmake_build %install @@ -85,14 +84,6 @@ rm -rf %{buildroot}/%{_includedir}/KBibTeX rm -rf %{buildroot}/%{_kf5_libdir}/libkbibtex*.so rm -rf %{buildroot}/%{_kf5_libdir}/cmake/KBibTeX -# Remove the rpaths that rpmlint complains about -# According to https://en.opensuse.org/openSUSE:Packaging_checks -# this is a last resort option. -# Reported in kde#476502 -chrpath -d %{buildroot}/%{_kf5_bindir}/kbibtex -chrpath -d %{buildroot}%{_kf5_libdir}/libkbibtex*.so.* -chrpath -d %{buildroot}%{_kf5_plugindir}/kbibtexpart.so* - %if %{with lang} %find_lang %{name} %endif