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