From ed38d5aab18608d078457384af0f1d037a0b442c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 12 Apr 2020 19:34:37 +0200 Subject: Use jdupes to change duplicate files into symlinks; Add Rules-Requires-Root: no --- debian/changelog | 5 +++++ debian/control | 2 ++ debian/rules | 4 ++++ debian/xsdcxx.lintian-overrides | 1 - 4 files changed, 11 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index c7b5994..3747b20 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,11 +3,16 @@ xsd (4.0.0-8) UNRELEASED; urgency=medium * Fix FTCBFS: Use dpkg's buildtools.mk to export tools for make install. (Closes: #955728). Thanks to Helmut Grohne . * Declare compliance with Debian Policy 4.5.0 (No changes needed). + * Use jdupes to change duplicate files into symlinks: + - debian/rules: Add override_dh_link. + - debian/control: Add Build-Depend jdupes. + - debian/xsdcxx.lintian-overrides: Remove duplicate-files. * Switch to debhelper-compat: - debian/control: Replace debhelper with debhelper-compat. - Remove debian/compat. * debian/control: - Switch Vcs-* to new location. + - Add Rules-Requires-Root: no. * debian/copyright: - Add year 2020 to debian/*. - Use secure URI. diff --git a/debian/control b/debian/control index ca5e2ca..8e7fda5 100644 --- a/debian/control +++ b/debian/control @@ -2,9 +2,11 @@ Source: xsd Section: devel Priority: optional Maintainer: Jörg Frings-Fürst +Rules-Requires-Root: no Build-Depends: debhelper-compat (= 12), dpkg-dev (>= 1.15.4), + jdupes, libboost-date-time-dev, libboost-filesystem-dev, libboost-regex-dev, diff --git a/debian/rules b/debian/rules index 204d43f..a3031ce 100755 --- a/debian/rules +++ b/debian/rules @@ -39,3 +39,7 @@ override_dh_auto_install: override_dh_install: dh_install install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/xsdcxx/usr/share/apport/package-hooks/source_xsdcxx.py + +override_dh_link: + jdupes -rl debian/xsdcxx/usr + dh_link diff --git a/debian/xsdcxx.lintian-overrides b/debian/xsdcxx.lintian-overrides index 6b2ce65..3de886d 100644 --- a/debian/xsdcxx.lintian-overrides +++ b/debian/xsdcxx.lintian-overrides @@ -1,2 +1 @@ -duplicate-files hardening-no-fortify-functions -- cgit v1.2.3