From 8c13af8eb5eae7ea5b73d37dce7547006bcf8925 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 27 May 2010 15:03:02 +0000 Subject: [PATCH] - Strip libfakeroot-*.so (RHBZ#596735). - Verified that libguestfs still builds and runs with this change (this represents a fairly aggressive test of fakeroot). --- fakeroot.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fakeroot.spec b/fakeroot.spec index 8b29dea..cd79efc 100644 --- a/fakeroot.spec +++ b/fakeroot.spec @@ -1,7 +1,7 @@ Summary: Gives a fake root environment Name: fakeroot Version: 1.12.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL+ Group: Development/Tools URL: http://fakeroot.alioth.debian.org/ @@ -64,6 +64,7 @@ for type in sysv tcp; do chmod 644 %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so mv %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so \ %{buildroot}%{_libdir}/libfakeroot/libfakeroot-$type.so + strip -s %{buildroot}%{_libdir}/libfakeroot/libfakeroot-$type.so rm -f %{buildroot}%{_libdir}/libfakeroot/libfakeroot.so rm -f %{buildroot}%{_libdir}/libfakeroot/libfakeroot.*a* done @@ -104,6 +105,11 @@ rm -rf %{buildroot} %{_libdir}/libfakeroot/libfakeroot-0.so %changelog +* Thu May 27 2010 Richard W.M. Jones - 1.12.4-2 +- Strip libfakeroot-*.so (RHBZ#596735). +- Verified that libguestfs still builds and runs with this change (this + represents a fairly aggressive test of fakeroot). + * Fri Jan 29 2010 Richard W.M. Jones - 1.12.4-1 - Upstream removed the tarball for 1.12.2, which made Source0 invalid. - There is a new version (1.12.4), so update to the new version.