remove rpaths

This commit is contained in:
josef radinger 2022-05-05 20:46:21 +02:00
parent 795619f0e8
commit 58605f4f29

View File

@ -46,6 +46,8 @@ BuildRequires: libcurl-devel
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
BuildRequires: make
BuildRequires: chrpath
# The C library binding was mistakenly put in a -static
# package despite being a shared library
Obsoletes: gmic-static <= 2.1.8
@ -156,6 +158,11 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/bash-completion/completions/
# Sourced files shouldn't be executable
chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d/gmic
# remove rpaths
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gmic
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcgmic.so.*
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgmic.so.*
%ldconfig_scriptlets
%post
@ -204,6 +211,7 @@ fi
- bump version
- disable patch0
- disable patch2
- BuildRequires: chrpath
* Wed Jan 26 2022 josef radinger <cheese@nosuchhost.net> - 3.0.2-1
- bump version