diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-04-12 19:34:37 +0200 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-04-12 19:34:37 +0200 | 
| commit | ed38d5aab18608d078457384af0f1d037a0b442c (patch) | |
| tree | fbcdb54d8d262db1d84a734b8a36a57020f1491e | |
| parent | b98ca73b433ba3ded5bd2d9ed33a37d4547490c4 (diff) | |
Use jdupes to change duplicate files into symlinks; Add Rules-Requires-Root: no
| -rw-r--r-- | debian/changelog | 5 | ||||
| -rw-r--r-- | debian/control | 2 | ||||
| -rwxr-xr-x | debian/rules | 4 | ||||
| -rw-r--r-- | debian/xsdcxx.lintian-overrides | 1 | 
4 files changed, 11 insertions, 1 deletions
| 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 <helmut@subdivi.de>.    * 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 <debian@jff.email> +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 | 
