[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a

Clint Adams schizo at debian.org
Tue Aug 23 13:05:35 UTC 2011


The following commit has been merged in the upstream branch:
commit fe3ccf8f2687664f611e3a8390f76cefbb7b6796
Author: Clint Adams <schizo at debian.org>
Date:   Fri Mar 18 15:25:43 2005 +0000

    Fix stripping of bi-arch shared objects.
    
    git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-58

diff --git a/debian/changelog b/debian/changelog
index 43527f0..4d146cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ fakeroot (1.2.7) unstable; urgency=medium
 
   * Apply patch from Andrey Mitrofanov to fix stripping of shared
     objects, broken by the alternatives changes.
+  * Fix stripping of bi-arch shared objects.
 
  -- Clint Adams <schizo at debian.org>  Fri, 18 Mar 2005 09:42:58 -0500
 
diff --git a/debian/rules b/debian/rules
index 99b8630..f782cf7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -183,6 +183,10 @@ endif
 
 	rm debian/tmp/usr/lib64/libfakeroot/libfakeroot.so
 #	rm debian/tmp/usr/lib64/libfakeroot.so
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/tmp/usr/lib64/libfakeroot/libfakeroot-sysv.so.0.0.1
+	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/tmp/usr/lib64/libfakeroot/libfakeroot-tcp.so.0.0.1
+endif
 
 source diff:
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

-- 
fakeroot



More information about the Fakeroot-commits mailing list