diff options
author | Yves-Alexis Perez <corsac@corsac.net> | 2017-06-28 23:27:04 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@corsac.net> | 2017-06-30 13:06:04 +0200 |
commit | de16202a5118fe1b3fe32b1d0b51a0536751794a (patch) | |
tree | 70537c838cd136aafbe22bd32521237c5790fb57 /debian | |
parent | 7cfe925863e874efad1ec7594fc85d51cd2acdc2 (diff) | |
download | vyos-strongswan-de16202a5118fe1b3fe32b1d0b51a0536751794a.tar.gz vyos-strongswan-de16202a5118fe1b3fe32b1d0b51a0536751794a.zip |
Use dh_missing to catch uninstalled files
* debian/rules:
- remove .la files before install
- don't call dh_install with --fail-missing
- override dh_missing with --fail-missing to catch uninstalled files.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 9 | ||||
-rwxr-xr-x | debian/rules | 7 |
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 6d59b790e..141527bff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +strongswan (5.5.3-3) UNRELEASED; urgency=medium + + * debian/rules: + - remove .la files before install + - don't call dh_install with --fail-missing + - override dh_missing with --fail-missing to catch uninstalled files. + + -- Yves-Alexis Perez <corsac@debian.org> Wed, 28 Jun 2017 22:57:48 +0200 + strongswan (5.5.3-2) unstable; urgency=medium * debian/control: diff --git a/debian/rules b/debian/rules index ad984684c..7bf57bc1e 100755 --- a/debian/rules +++ b/debian/rules @@ -101,6 +101,8 @@ override_dh_auto_clean: override_dh_install-arch: + # remove all .la files + find debian/tmp/usr/lib -name '*.la' -delete # first special cases ifeq ($(DEB_BUILD_ARCH_OS),linux) @@ -164,7 +166,7 @@ ifeq ($(DEB_BUILD_ARCH_CPU), amd64) endif # then install the rest, ignoring the above - dh_install --fail-missing \ + dh_install \ -X\.la -X\.a \ -Xmedsrv -Xman3 \ -Xlibstrongswan-connmark.so -X connmark.conf \ @@ -230,5 +232,8 @@ ifeq ($(DEB_BUILD_ARCH),amd64) dh_auto_test endif +override_dh_missing: + dh_missing --fail-missing + %: dh $@ --parallel --with autoreconf,systemd |