[Pkg-mono-svn-commits] [mono] 01/19: Handle 4->3 part version numbering difference in get-orig-source
Jo Shields
directhex at moszumanska.debian.org
Thu Dec 15 11:51:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to annotated tag debian/4.6.2.7+dfsg-1
in repository mono.
commit b96315ee9b150251d05dca94b597e509cd53cf89
Author: Jo Shields <jo.shields at xamarin.com>
Date: Thu Dec 15 09:52:47 2016 +0000
Handle 4->3 part version numbering difference in get-orig-source
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 2881859..bf9b819 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,7 @@ SOURCE_DIR = $(DEBIAN_DIR)/..
VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Vers | cut -d\ -f2)
UPVERSION = $(shell echo $(VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,')
+UPVERSION_THREEPART = $(shell echo $(UPVERSION) | cut -f1-3 -d.)
NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION))
DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
@@ -378,7 +379,7 @@ endif
dh_md5sums -s
dh_builddeb -s
-get-orig-source: TARBALL_DIR = $(DEB_SOURCE_NAME)-$(UPVERSION)
+get-orig-source: TARBALL_DIR = $(DEB_SOURCE_NAME)-$(UPVERSION_THREEPART)
get-orig-source:
uscan \
--package $(DEB_SOURCE_NAME) \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git
More information about the Pkg-mono-svn-commits
mailing list