- Let rpmbuild strip binaries, make build more verbose.

- Original patch by Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
Stephen Gallagher 2011-01-14 09:52:07 -05:00
parent 35c073c47a
commit 8d49e460ac

View File

@ -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@redhat.com> - 1.2.9-7
- Let rpmbuild strip binaries, make build more verbose.
- Original patch by Ville Skyttä <ville.skytta@iki.fi>
* Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.2.9-6
- Install python bindings into the correct location