summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Mollier <emollier@debian.org>2022-11-24 21:55:37 +0100
committerÉtienne Mollier <emollier@debian.org>2022-11-24 21:55:37 +0100
commit959aa49e279f84aa122ca4d28302b1f009897cae (patch)
tree433b1ebc3e516500fba1de2163e5f3369d23b74b
parentea76bd23759a5b73f2cbdb6cd3a4d1368ce8c53c (diff)
d/{copyright,rules,watch}: prepare for repack.
The repack will be purely technical, to remove third party components which are embeded in the source code but unnecessary for the packaging, and potentially cluttering the copyright information file.
-rw-r--r--debian/copyright1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/watch1
3 files changed, 2 insertions, 4 deletions
diff --git a/debian/copyright b/debian/copyright
index fb96768..6e74c92 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://metacpan.org/release/Zonemaster-LDNS
Upstream-Contact: Mattias P <mattias.paivarinta@iis.se>
Upstream-Name: Zonemaster-LDNS
+Files-Excluded: inc/* ldns/*
Files: *
Copyright: The Swedish Internet Foundation (<https://internetstiftelsen.se/en/>)
diff --git a/debian/rules b/debian/rules
index e369d21..aab30d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,6 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-execute_before_dh_auto_clean:
- find -name Makefile -delete
- rm -rvf inc
-
override_dh_auto_configure:
dh_auto_configure -- --no-internal-ldns
diff --git a/debian/watch b/debian/watch
index 009f021..449965d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
version=4
+opts="dversionmangle=s/\+ds\d*$//,repacksuffix=+ds" \
https://metacpan.org/release/Zonemaster-LDNS \
.*/Zonemaster-LDNS-v?@ANY_VERSION@@ARCHIVE_EXT@$