%check: verify correct rpath/runpath

f40
Rex Dieter 5 years ago
parent 8a34fe3369
commit 981e1fcedf

@ -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 <rdieter@fedoraproject.org> - 2.6.5-8
- %%check: verify correct rpath/runpath
* Mon Aug 24 2020 Rex Dieter <rdieter@fedoraproject.org> - 2.6.5-7
- restore use of %%cmake_kf5, explicitly undefine _cmake_skip_rpath (#1871655)

Loading…
Cancel
Save