MT#7431 Force strip getarch + getos files in ngcp-sems-libsems1-dev

Addressing:

| E: ngcp-sems-libsems1-dev: unstripped-binary-or-object usr/include/sems/compat/getarch
| E: ngcp-sems-libsems1-dev: unstripped-binary-or-object usr/include/sems/compat/getos

dh_strip doesn't work as reliable as lintian (e.g.
see #35733 and #468333 in Debian's BTS), so instruct
debian/rules to explicitly strip those files.
mr3.4.1
Michael Prokop 12 years ago
parent 63fc5e782e
commit 68cbeb575a

7
debian/rules vendored

@ -44,3 +44,10 @@ override_dh_auto_install:
override_dh_strip:
dh_strip --dbg-package=$(APP_NAME)-dbg
# MT#7431 those binaries aren't automatically stripped
test -r $(CURDIR)/debian/ngcp-sems-libsems1-dev/usr/include/sems/compat/getarch && \
strip --remove-section=.comment --remove-section=.note --strip-unneeded \
$(CURDIR)/debian/ngcp-sems-libsems1-dev/usr/include/sems/compat/getarch
test -r $(CURDIR)/debian/ngcp-sems-libsems1-dev/usr/include/sems/compat/getos && \
strip --remove-section=.comment --remove-section=.note --strip-unneeded \
$(CURDIR)/debian/ngcp-sems-libsems1-dev/usr/include/sems/compat/getos

Loading…
Cancel
Save