[libtdb] - Let rpmbuild strip binaries, make build more verbose. - Original patch by Ville Skyttä <ville.s

Stephen Gallagher sgallagh at fedoraproject.org
Fri Jan 14 14:52:20 UTC 2011


commit 8d49e460ac1fd53a1866eab62717f5edb9ec52c6
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Fri Jan 14 09:52:07 2011 -0500

    - Let rpmbuild strip binaries, make build more verbose.
    - Original patch by Ville Skyttä <ville.skytta at iki.fi>

 libtdb.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
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 <sgallagh at redhat.com> - 1.2.9-7
+- Let rpmbuild strip binaries, make build more verbose.
+- Original patch by Ville Skyttä <ville.skytta at iki.fi>
+
 * Wed Jan 12 2011 Stephen Gallagher <sgallagh at redhat.com> - 1.2.9-6
 - Install python bindings into the correct location
 


More information about the scm-commits mailing list