Module: sems Branch: master Commit: 0fa3622b845011cdf745a0667839ee2bcaec3f4e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0fa3622b845011cdf745a0667839ee2bcaec3f4e
Author: Victor Seva <[email protected]> Committer: Victor Seva <[email protected]> Date: Sun Jun 15 14:59:01 2014 +0200 pkg/deb: fix dh_strip --- pkg/deb/debian/rules | 7 +++++++ pkg/deb/jessie/rules | 7 +++++++ pkg/deb/precise/rules | 7 +++++++ pkg/deb/trusty/rules | 7 +++++++ pkg/deb/wheezy/rules | 7 +++++++ 5 files changed, 35 insertions(+), 0 deletions(-) diff --git a/pkg/deb/debian/rules b/pkg/deb/debian/rules index 6f856b6..5ac115a 100755 --- a/pkg/deb/debian/rules +++ b/pkg/deb/debian/rules @@ -40,3 +40,10 @@ override_dh_auto_install: override_dh_strip: dh_strip --dbg-package=sems-dbg + # those binaries aren't automatically stripped + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos diff --git a/pkg/deb/jessie/rules b/pkg/deb/jessie/rules index 6f856b6..5ac115a 100755 --- a/pkg/deb/jessie/rules +++ b/pkg/deb/jessie/rules @@ -40,3 +40,10 @@ override_dh_auto_install: override_dh_strip: dh_strip --dbg-package=sems-dbg + # those binaries aren't automatically stripped + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos diff --git a/pkg/deb/precise/rules b/pkg/deb/precise/rules index 6f856b6..5ac115a 100755 --- a/pkg/deb/precise/rules +++ b/pkg/deb/precise/rules @@ -40,3 +40,10 @@ override_dh_auto_install: override_dh_strip: dh_strip --dbg-package=sems-dbg + # those binaries aren't automatically stripped + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos diff --git a/pkg/deb/trusty/rules b/pkg/deb/trusty/rules index 6f856b6..5ac115a 100755 --- a/pkg/deb/trusty/rules +++ b/pkg/deb/trusty/rules @@ -40,3 +40,10 @@ override_dh_auto_install: override_dh_strip: dh_strip --dbg-package=sems-dbg + # those binaries aren't automatically stripped + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos diff --git a/pkg/deb/wheezy/rules b/pkg/deb/wheezy/rules index 6f856b6..5ac115a 100755 --- a/pkg/deb/wheezy/rules +++ b/pkg/deb/wheezy/rules @@ -40,3 +40,10 @@ override_dh_auto_install: override_dh_strip: dh_strip --dbg-package=sems-dbg + # those binaries aren't automatically stripped + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getarch + test -r $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos && \ + strip --remove-section=.comment --remove-section=.note --strip-unneeded \ + $(CURDIR)/debian/libsems1-dev/usr/include/sems/compat/getos _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
