[Pkg-javascript-commits] [libjs-jquery-selectize.js] 02/02: Use DEBIAN_VERSION instead of dpkg-parsechangelog.
Sergio Durigan Junior
sergiodj-guest at moszumanska.debian.org
Tue Aug 8 22:36:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
sergiodj-guest pushed a commit to branch master
in repository libjs-jquery-selectize.js.
commit e373899a62d0f3979eeeeb0526145f863763c0e1
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date: Tue Aug 8 18:06:11 2017 -0400
Use DEBIAN_VERSION instead of dpkg-parsechangelog.
---
debian/changelog | 1 +
debian/rules | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 930d7cc..0391f98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ libjs-jquery-selectize.js (0.12.4+dfsg-1) unstable; urgency=medium
* New upstream version 0.12.4+dfsg
* Bump standards version to 4.0.1.
* Change section to "javascript".
+ * Use DEB_VERSION instead of dpkg-parsechangelog.
-- Sergio Durigan Junior <sergiodj at sergiodj.net> Tue, 08 Aug 2017 18:01:44 -0500
diff --git a/debian/rules b/debian/rules
index 9fbd755..e366f7a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
-VER = $(shell dpkg-parsechangelog -S Version | sed 's@\(.*\)+dfsg.*@\1@')
+include /usr/share/dpkg/pkg-info.mk
+
+VER = $(shell echo $(DEB_VERSION) | sed 's@\(.*\)+dfsg.*@\1@')
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/libjs-jquery-selectize.js.git
More information about the Pkg-javascript-commits
mailing list