[med-svn] [mcl] 02/08: Remove files from upstream tarball which will be recreated and prevent building the package twice in a row

Andreas Tille tille at debian.org
Mon Jan 22 11:04:58 UTC 2018


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository mcl.

commit e4a95b68ea013ea988c5e4a7dc40202d93f850d6
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jan 22 11:45:17 2018 +0100

    Remove files from upstream tarball which will be recreated and prevent building the package twice in a row
---
 debian/changelog | 4 +++-
 debian/copyright | 4 ++++
 debian/rules     | 5 +++++
 debian/watch     | 3 ++-
 4 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ac87423..f4f7933 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
-mcl (1:14-137-3) UNRELEASED; urgency=medium
+mcl (1:14-137+ds-1) UNRELEASED; urgency=medium
 
   * Do not save copies of docs in d/rules
     Closes: #887829
+  * Remove files from upstream tarball which will be recreated and
+    prevent building the package twice in a row
 
  -- Andreas Tille <tille at debian.org>  Mon, 22 Jan 2018 11:30:15 +0100
 
diff --git a/debian/copyright b/debian/copyright
index 68d4764..48fb453 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,5 +1,9 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Source: http://micans.org/mcl/src/
+Files-Excluded: */*.1
+                */*.ps
+                */*.html
+                */Makefile.in
 
 Files: *
 Copyright: © 1999-2007 Stijn van Dongen <stijn at micans.org>
diff --git a/debian/rules b/debian/rules
index 9519bec..9a96d72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,5 +62,10 @@ docbackupdir:=$(CURDIR)/debian/doc.bak
 %:
 	dh $@
 
+override_dh_clean:
+	dh_clean
+	find . -name "*.zmr" -delete
+	find . -name "*.zmt" -delete
+
 override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)
diff --git a/debian/watch b/debian/watch
index 638ad0d..f3b4528 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 version=4
 
-https://micans.org/mcl/src/mcl-(..-.*)\.tar\.gz
+opts="repacksuffix=+ds,dversionmangle=s/\+ds//g,repack,compression=xz" \
+   https://micans.org/mcl/src/mcl-(..-.*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mcl.git



More information about the debian-med-commit mailing list