Remove RPATH
https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
This commit is contained in:
parent
7d88c6ea02
commit
dec3f09451
@ -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 <amigadave@amigadave.com> - 0.104-1
|
||||
- Update to 0.104
|
||||
- Remove RPATH
|
||||
|
||||
* Sat Feb 07 2015 David King <amigadave@amigadave.com> - 0.102-1
|
||||
- Update to 0.102
|
||||
|
||||
Loading…
Reference in New Issue
Block a user