From 8d49e460ac1fd53a1866eab62717f5edb9ec52c6 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 14 Jan 2011 09:52:07 -0500 Subject: [PATCH] =?UTF-8?q?-=20Let=20rpmbuild=20strip=20binaries,=20make?= =?UTF-8?q?=20build=20more=20verbose.=20-=20Original=20patch=20by=20Ville?= =?UTF-8?q?=20Skytt=C3=83=C2=A4=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libtdb.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libtdb.spec b/libtdb.spec index 923fb1a..04cbd7c 100644 --- a/libtdb.spec +++ b/libtdb.spec @@ -6,7 +6,7 @@ Name: libtdb Version: 1.2.9 -Release: 6%{?dist} +Release: 7%{?dist} Group: System Environment/Daemons Summary: The tdb library License: LGPLv3+ @@ -64,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +# Shared libraries need to be marked executable for +# rpmbuild to strip them and include them in debuginfo +find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \; + rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a %clean @@ -103,6 +107,10 @@ rm -rf $RPM_BUILD_ROOT %postun -n python-tdb -p /sbin/ldconfig %changelog +* Wed Jan 14 2011 Stephen Gallagher - 1.2.9-7 +- Let rpmbuild strip binaries, make build more verbose. +- Original patch by Ville Skyttä + * Wed Jan 12 2011 Stephen Gallagher - 1.2.9-6 - Install python bindings into the correct location