[Python-modules-commits] [binaryornot] 03/08: d/watch: handle +dfsg repack correctly

Vincent Bernat bernat at moszumanska.debian.org
Mon Nov 13 22:51:45 UTC 2017


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

bernat pushed a commit to annotated tag debian/0.4.4+dfsg-1
in repository binaryornot.

commit c2e1eae88c34788696d48661fc99652a4c97d01f
Author: Vincent Bernat <vincent at bernat.im>
Date:   Mon Nov 13 23:45:09 2017 +0100

    d/watch: handle +dfsg repack correctly
---
 debian/changelog | 2 +-
 debian/copyright | 3 +++
 debian/watch     | 5 ++++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f688e46..682c2bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
 binaryornot (0.4.0+dfsg-1) UNRELEASED; urgency=medium
 
   * d/patches: refresh patches after gbp pq conversion.
-  * d/watch: mangle debian version to remove dfsg.
+  * d/watch: handle +dfsg repack correctly.
 
  -- Vincent Bernat <bernat at debian.org>  Mon, 13 Nov 2017 23:41:25 +0100
 
diff --git a/debian/copyright b/debian/copyright
index fcbb586..ef0f13e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,9 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: BinaryOrNot
 Upstream-Contact: Audrey Roy <audreyr at gmail.com>
 Source: https://github.com/audreyr/binaryornot
+Files-Excluded:
+    tests/files/lena.gif
+    tests/files/lena.jpg
 
 Files: *
 Copyright: 2013 Audrey Roy
diff --git a/debian/watch b/debian/watch
index 154a2e3..7e7fa72 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,6 @@
 version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/binaryornot-$1.tar.gz/,dversionmangle=s/\+dfsg(\.?\d+)?$// \
+opts=\
+filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/binaryornot-$1.tar.gz/,\
+dversionmangle=s/\+dfsg(\.?\d+)?$//,\
+repacksuffix=+dfsg \
   https://github.com/audreyr/binaryornot/releases .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/binaryornot.git



More information about the Python-modules-commits mailing list