From 464d55ba8c783597d915ebdff4d2de671c66dc6e Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 14 Jan 2011 07:52:18 -0500 Subject: [PATCH] =?UTF-8?q?-=20Let=20rpmbuild=20strip=20binaries,=20make?= =?UTF-8?q?=20build=20more=20verbose.=20-=20Resolves=20rhbz#669477=20-=20l?= =?UTF-8?q?ibtalloc=202.0.5-6=20binaries=20not=20stripped,=20-=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20emp?= =?UTF-8?q?ty=20-debuginfo=20-=20Original=20patch=20by=20Ville=20Skytt?= =?UTF-8?q?=C3=83=C2=A4=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libtalloc.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libtalloc.spec b/libtalloc.spec index 91d6728..ddd5acf 100644 --- a/libtalloc.spec +++ b/libtalloc.spec @@ -6,7 +6,7 @@ Name: libtalloc Version: 2.0.5 -Release: 6%{?dist} +Release: 7%{?dist} Group: System Environment/Daemons Summary: The talloc library License: LGPLv3+ @@ -57,13 +57,17 @@ Development libraries for pytalloc %build ./autogen.sh %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}/libtalloc.a rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i @@ -100,6 +104,12 @@ rm -rf $RPM_BUILD_ROOT %postun -n pytalloc -p /sbin/ldconfig %changelog +* Thu Jan 14 2011 Stephen Gallagher - 2.0.5-7 +- Let rpmbuild strip binaries, make build more verbose. +- Resolves rhbz#669477 - libtalloc 2.0.5-6 binaries not stripped, +- empty -debuginfo +- Original patch by Ville Skyttä + * Wed Jan 12 2011 Stephen Gallagher - 2.0.5-6 - Install python bindings in the correct location