[X2Go-Commits] [x2gomatebindings] 02/02: debian/rules: if encountering the "unstable" distro version, set it to a fake 9999 version.
git-admin at x2go.org
git-admin at x2go.org
Sat Jun 11 14:57:55 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 74f11e3edce399dcebf758f148767770aaa75a74
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jun 11 14:29:21 2016 +0200
debian/rules: if encountering the "unstable" distro version, set it to a fake 9999 version.
---
debian/changelog | 2 ++
debian/rules | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fddb7b0..c5b8fed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,8 @@ x2gomatebindings (0.0.1.4-0~x2go1) UNRELEASED; urgency=low
- Use bash for arithmetic operations, not supported by sh.
- Fix ifeq call by adding a space character between ifeq and the opening
parenthesis.
+ - If encountering the "unstable" distro version, set it to a fake 9999
+ version.
-- 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 358313f..57dfd77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
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"...
+ifeq ($(RELEASE_VER),unstable)
+ RELEASE_VER = 9999
+endif
SUBSTVARS = -Vdist:Depends="libgtk-2.0-bin"
USE_GTK = 2.0
ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER) >= 9 )) && echo yes'),yes)
--
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