commit f25c1256ccfc610f50b05253afb64e77d2f75ff0
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Jun 9 23:28:29 2021 +0100
Delete umpty rpath on binaries
plex-media-player.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 510e284..b2c3e49 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -37,6 +37,7 @@ Source94:
%{arti_url}/%{clients_hash}/web-client-tv-%{web_client_tv}.tar.x
ExcludeArch: ppc64le
BuildRequires: cmake
+BuildRequires: chrpath
BuildRequires: ninja-build
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
@@ -149,6 +150,9 @@ desktop-file-install \
mkdir -p %{buildroot}%{_sharedstatedir}/plex-media-player
+chrpath -d %{buildroot}%{_bindir}/plexmediaplayer
+chrpath -d %{buildroot}%{_bindir}/pmphelper
+
%pre session
# NEVER delete an user or group created by an RPM package. See:
#
https://fedoraproject.org/wiki/Packaging:UsersAndGroups#Allocation_Strate...