diff --git a/libtevent.spec b/libtevent.spec index 60a6f08..fcf882b 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -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 - 0.9.10-2 +- Let rpmbuild strip binaries, make build more verbose. +- Original patch by Ville Skyttä + * Wed Jan 12 2011 Stephen Gallagher - 0.9.10-1 - New upstream release - Convert to new WAF build-system