From e62f41a4418922f222089b63a4dbd79fa5c533a7 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 13 Aug 2012 11:58:47 -0400 Subject: [PATCH] Re-add code to strip RPATHs (#840414) --- glib2.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/glib2.spec b/glib2.spec index 7a091fe..2d7e852 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,7 +1,7 @@ Summary: A library of handy utility functions Name: glib2 Version: 2.33.6 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -24,6 +24,7 @@ BuildRequires: gtk-doc BuildRequires: python-devel BuildRequires: libffi-devel BuildRequires: elfutils-libelf-devel +BuildRequires: chrpath # required for GIO content-type support Requires: shared-mime-info @@ -61,6 +62,7 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.{a,la} @@ -151,6 +153,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules %{_datadir}/systemtap/tapset/*.stp %changelog +* Mon Aug 13 2012 Colin Walters - 2.33.6-3 +- Re-add code to strip RPATHs (#840414) + * Fri Jul 20 2012 Tomas Bzatek - 2.33.6-2 - Add runtime dependency on eject (#748007)