From 114632854007e83f4b364186ef919cbeccb0f970 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 22 Nov 2013 15:58:24 +0100 Subject: [PATCH] remove RPATH from all files --- gpsd.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gpsd.spec b/gpsd.spec index 133994b..9b36937 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -138,7 +138,13 @@ desktop-file-install \ rm %{buildroot}%{_libdir}/{libgpsd.so,pkgconfig/libgpsd.pc} # Remove RPATH (even the actual string) -for i in %{buildroot}%{python_sitearch}/gps/*.so; do +for i in \ + %{buildroot}%{_bindir}/gps{mon,ctl,2udp,decode,pipe} \ + %{buildroot}%{_bindir}/{lcdgps,cgps,gpxlogger} \ + %{buildroot}%{_sbindir}/gpsd{,ctl} \ + %{buildroot}%{_libdir}/libgps{,d}.so.*.*.* \ + %{buildroot}%{python_sitearch}/gps/*.so +do chrpath -r "" $i chrpath -d $i done