[Pkg-electronics-commits] [gnucap] 01/01: turn around version, pick from changelog for orig-source

felix salfelder felix-guest at moszumanska.debian.org
Sat Aug 13 11:25:19 UTC 2016


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

felix-guest pushed a commit to branch master
in repository gnucap.

commit 10b4826f79ff9c8e0307f1853a55f205f481c8aa
Author: Felix Salfelder <felix at salfelder.org>
Date:   Sat Aug 13 12:27:32 2016 +0100

    turn around version, pick from changelog for orig-source
    
    the date makes much more sense, it can be counted up...
---
 debian/changelog | 2 +-
 debian/rules     | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 67798d3..4aae9da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-gnucap (1:0.36~20160724.5ce07fc6-1) UNRELEASED; urgency=medium
+gnucap (1:0.36.20160724~5ce07fc6-1) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
   * library package, libgnucap-0
diff --git a/debian/rules b/debian/rules
index 15c0743..e63090a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,7 @@
 version_full = $(shell dpkg-parsechangelog --show-field Version)
 version_no_epoch = $(shell v="$(version_full)"; echo $${v\#\#*:})
 tarball_version = $(shell v="$(version_no_epoch)"; echo $${v%%-*})
-
-# also pick from changelog? yes. later.
-upstream_commit = 5ce07fc6
+upstream_commit = $(shell v="$(tarball_version)"; echo $${v\#\#*~})
 
 # upstream_commit_short = $(shell echo $(upstream_commit) | sed -e 's/\(........\).*/\1/')
 #

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git



More information about the Pkg-electronics-commits mailing list