[sagemath] 01/03: Update dpkg-parsechangelog usage in d/rules

Jerome Benoit calculus-guest at moszumanska.debian.org
Wed Aug 3 13:44:32 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository sagemath.

commit d013aaf68a49e046ef7f164178240b706192a8c9
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Wed Aug 3 14:34:06 2016 +0100

    Update dpkg-parsechangelog usage in d/rules
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 605ca35..e8d19b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-VERSION := $(shell dpkg-parsechangelog | grep -x "Version:.*" | sed 's at Version: \(.\+\)-.\+@\1@')
+VERSION := $(shell dpkg-parsechangelog -S Version| sed 's@\(.\+\)-.\+@\1@')
 export MAKE = make -j5
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list