From 5978155cfde85b5c9e9d276f37eb1412fae39baa Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:30:06 +0100 Subject: [PATCH] patched to fix rpath for private library in apper binary [release 1.0.0-2mamba;Sat Apr 07 2018] --- apper-1.0.0-fix_rpath.patch | 11 +++++++++++ apper.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 apper-1.0.0-fix_rpath.patch diff --git a/apper-1.0.0-fix_rpath.patch b/apper-1.0.0-fix_rpath.patch new file mode 100644 index 0000000..1c7ad65 --- /dev/null +++ b/apper-1.0.0-fix_rpath.patch @@ -0,0 +1,11 @@ +--- apper-1.0.0/Apper/CMakeLists.txt.orig 2018-04-07 13:23:06.706687195 +0200 ++++ apper-1.0.0/Apper/CMakeLists.txt 2018-04-07 13:23:13.174714815 +0200 +@@ -49,7 +49,7 @@ + + set_target_properties(apper PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/apper) + +-install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/apper DESTINATION ${CMAKE_INSTALL_BINDIR}) ++install(TARGETS apper DESTINATION ${CMAKE_INSTALL_BINDIR}) + install(FILES org.kde.apper.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) + install(FILES org.kde.apper_installer.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) + install(FILES org.kde.apper_settings.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) diff --git a/apper.spec b/apper.spec index d1d4190..b8e8652 100644 --- a/apper.spec +++ b/apper.spec @@ -1,7 +1,7 @@ Name: apper Epoch: 1 Version: 1.0.0 -Release: 1mamba +Release: 2mamba Summary: A KDE interface and plasmoid for PackageKit Group: Graphical Desktop/Applications/Administration Vendor: openmamba @@ -13,6 +13,7 @@ Source1: 01-fedora-org.packagekit.updater.js Source2: apper-0.8.0-translations.tar.xz Patch0: apper-0.8.1-plasmoid-fix-icons.patch Patch1: apper-0.9.1-no-popup-for-background-actions.patch +Patch2: apper-1.0.0-fix_rpath.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -58,6 +59,7 @@ Apper (aka KPackageKit) is the KDE interface for PackageKit. %setup -q #%patch0 -p1 #%patch1 -p1 +%patch2 -p1 #rm -f plasmoid/package/contents/ui/main.qml.orig @@ -139,6 +141,9 @@ fi # TODO %changelog +* Sat Apr 07 2018 Silvan Calarco 1.0.0-2mamba +- patched to fix rpath for private library in apper binary + * Thu Mar 15 2018 Silvan Calarco 1.0.0-1mamba - update to 1.0.0