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