- 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:55:48 -05:00
parent 4cd84c8037
commit 55727dcefb

View File

@ -6,7 +6,7 @@
Name: libtevent
Version: 0.9.10
Release: 1%{?dist}
Release: 2%{?dist}
Group: System Environment/Daemons
Summary: The tevent library
License: LGPLv3+
@ -52,13 +52,17 @@ Python bindings for libtevent
%build
%configure --disable-rpath --bundled-libraries=NONE
make %{?_smp_mflags}
make %{?_smp_mflags} V=1
%install
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}/libtevent.a
%clean
@ -83,6 +87,10 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%changelog
* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.10-2
- 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> - 0.9.10-1
- New upstream release
- Convert to new WAF build-system