[X2Go-Commits] [x2gomatebindings] 01/02: debian/rules: override "testing" string with a hardcoded version value as well.

git-admin at x2go.org git-admin at x2go.org
Sat Jun 11 21:10:31 CEST 2016


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

x2go pushed a commit to branch master
in repository x2gomatebindings.

commit f0139910f8b9f0c42b6e8e42a7ee9377252ed207
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jun 11 18:32:47 2016 +0200

    debian/rules: override "testing" string with a hardcoded version value as well.
---
 debian/changelog |    1 +
 debian/rules     |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6ab4d67..6abca8a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,7 @@ x2gomatebindings (0.0.1.4-0~x2go1) UNRELEASED; urgency=low
     - Drop debugging output (which only leads to failing builds on all
       platforms) and consolidate default values.
     - Don't automatically configure after running autogen.sh.
+    - Override "testing" string with a hardcoded version value as well.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Tue, 10 Feb 2015 23:48:43 +0100
 
diff --git a/debian/rules b/debian/rules
index 5a35886..918db80 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,10 @@ USE_GTK = 2.0
 
 ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
 	RELEASE_VER = $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[	 ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1')
-# Let's fake unstable's "release version"...
+# Let's fake testing's and unstable's "release version"...
+ifeq ($(RELEASE_VER),testing)
+	RELEASE_VER = 9990
+endif
 ifeq ($(RELEASE_VER),unstable)
 	RELEASE_VER = 9999
 endif

--
Alioth's /srv/git/code.x2go.org/x2gomatebindings.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gomatebindings.git


More information about the x2go-commits mailing list