[Pkg-gstreamer-commits] [gst-plugins-base1.0] 01/03: Fix gst_version variable generation

Fabian Greffrath fabian-guest at alioth.debian.org
Thu Oct 24 07:44:55 UTC 2013


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

fabian-guest pushed a commit to branch master
in repository gst-plugins-base1.0.

commit d0e876941c5e9d81af788a23b46a7f6ef4dec974
Author: Fabian Greffrath <fabian at greffrath.com>
Date:   Thu Oct 24 09:42:43 2013 +0200

    Fix gst_version variable generation
---
 debian/changelog |    7 +++++++
 debian/rules     |    2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a76109b..8584ecb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gst-plugins-base1.0 (1.2.0-2) UNRELEASED; urgency=low
+
+  * Team upload.
+  * Fix gst_version variable generation.
+
+ -- Fabian Greffrath <fabian+debian at greffrath.com>  Thu, 24 Oct 2013 09:42:01 +0200
+
 gst-plugins-base1.0 (1.2.0-1) unstable; urgency=low
 
   * New upstream stable release:
diff --git a/debian/rules b/debian/rules
index 6496b77..f13b5b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 DEB_MAKE_CHECK_TARGET = check || true
 
 # upstream version with epoch
-gst_version := $(shell echo $(DEB_VERSION) | cut -d '-' -f 1)
+gst_version := $(shell dpkg-parsechangelog | sed -n 's/Version: //p' | cut -d '-' -f 1)
 gst_major := 1
 gst_minor := 0
 gst_abi := $(gst_major).$(gst_minor)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gstreamer/gst-plugins-base1.0.git



More information about the Pkg-gstreamer-commits mailing list