[libfann] 02/07: d/rules: Improve version parsing
Christian Kastner
chrisk-guest at moszumanska.debian.org
Sun Apr 24 16:24:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch master
in repository libfann.
commit 57225b54def239e530f96fbf7e4782d16515cc40
Author: Christian Kastner <ckk at kvr.at>
Date: Sun Apr 24 17:16:24 2016 +0200
d/rules: Improve version parsing
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 36a09c9..0ba1bda 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,8 @@
# For get-orig-source
PKGDIR := $(dir $(firstword $(MAKEFILE_LIST)))..
-UPVER := $(shell dpkg-parsechangelog -l$(PKGDIR)/debian/changelog -S Version | \
- sed -re 's/\+ds-.*//')
+DEBVER := $(shell dpkg-parsechangelog -l$(PKGDIR)/debian/changelog -S Version)
+UPVER := $(shell echo $(DEBVER) | sed -re 's/\+ds-.*//')
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git
More information about the debian-science-commits
mailing list