From dec3f09451a289661998804aaced651f2853acf8 Mon Sep 17 00:00:00 2001 From: David King Date: Feb 09 2015 17:41:08 +0000 Subject: Remove RPATH https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath --- diff --git a/dbus-glib.spec b/dbus-glib.spec index 131455e..42a68af 100644 --- a/dbus-glib.spec +++ b/dbus-glib.spec @@ -15,6 +15,7 @@ BuildRequires: pkgconfig(dbus-1) >= %{dbus_version} BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: expat-devel >= %{expat_version} BuildRequires: gettext +BuildRequires: /usr/bin/chrpath %description @@ -43,7 +44,7 @@ Headers and static libraries for the D-Bus GLib bindings --disable-gtk-doc #build with checks for right now but disable checks for final release -#%configure --disable-tests --disable-verbose-mode --disable-asserts +#%%configure --disable-tests --disable-verbose-mode --disable-asserts make %{?_smp_mflags} %install @@ -52,6 +53,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/dbus-binding-tool +chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/dbus-bash-completion-helper + %post -p /sbin/ldconfig @@ -77,6 +81,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %changelog * Mon Feb 09 2015 David King - 0.104-1 - Update to 0.104 +- Remove RPATH * Sat Feb 07 2015 David King - 0.102-1 - Update to 0.102