[libtevent] - 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:55:59 UTC 2011


commit 55727dcefb26d1517251df3af7e38ec69f1eb7a6
Author: Stephen Gallagher <sgallagh at redhat.com>
Date:   Fri Jan 14 09:55:48 2011 -0500

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

 libtevent.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
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 <sgallagh at redhat.com> - 0.9.10-2
+- 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> - 0.9.10-1
 - New upstream release
 - Convert to new WAF build-system


More information about the scm-commits mailing list