[X2Go-Commits] [x2gomatebindings] 02/02: debian/rules: also give Raspbian distros the same treatment as Debian ones.
git-admin at x2go.org
git-admin at x2go.org
Tue Aug 22 02:55:27 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gomatebindings.
commit b7f11eb9ff48e901116120ef5cae0568489a909f
Author: Mihai Moldovan <ionic at ionic.de>
Date: Tue Aug 22 02:54:50 2017 +0200
debian/rules: also give Raspbian distros the same treatment as Debian ones.
---
debian/changelog | 1 +
debian/rules | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b3be5e5..41b75e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ x2gomatebindings (0.0.1.5-0~x2go1) UNRELEASED; urgency=medium
[ Mihai Moldovan ]
* debian/rules:
- Change "testing" version to 999. Compatible with our buildscripts.
+ - Also give Raspbian distros the same treatment as Debian ones.
* x2gomatebindings.spec:
- Change mate-file-manager-devel build dependency to caja-devel for newer
distros. The package was renamed in Fedora and OpenSuSE a while ago,
diff --git a/debian/rules b/debian/rules
index 10e6a44..0093a80 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ RELEASE_VER_MINOR = 0
SUBSTVARS = -Vdist:Depends="libgtk2.0-bin"
USE_GTK = 2.0
-ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
+ifeq ($(shell { dpkg-vendor --is Debian && echo yes; } || { dpkg-vendor --is Raspbian && 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 testing's and unstable's "release version"...
ifeq ($(RELEASE_VER),testing)
--
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