diff --git a/nextcloud-client.spec b/nextcloud-client.spec index 80e090c..6ddcb74 100644 --- a/nextcloud-client.spec +++ b/nextcloud-client.spec @@ -4,7 +4,7 @@ Name: nextcloud-client Version: 2.6.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The Nextcloud Client # -libs are LGPLv2+, rest GPLv2 @@ -24,6 +24,7 @@ Patch0: 0001-CloudProviders-Don-t-clear-the-_recentMenu-pointer.patch Patch1: 0001-CloudProvider-Use-absolute-path-in-dbus-file.patch BuildRequires: check +BuildRequires: chrpath BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: doxygen @@ -179,6 +180,8 @@ rm -rf %{buildroot}%{_datadir}/caja-python/ %check appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml +# verify rpath/runpath, see https://bugzilla.redhat.com/show_bug.cgi?id=1871655 +test "$(chrpath --list %{buildroot}%{_bindir}/nextcloud)" = "%{buildroot}%{_bindir}/nextcloud: RPATH=%{_libdir}/nextcloud" %ldconfig_scriptlets libs @@ -229,6 +232,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/nextcloud. %endif %changelog +* Mon Aug 24 2020 Rex Dieter - 2.6.5-8 +- %%check: verify correct rpath/runpath + * Mon Aug 24 2020 Rex Dieter - 2.6.5-7 - restore use of %%cmake_kf5, explicitly undefine _cmake_skip_rpath (#1871655)