[iortcw] 09/17: Use DEB_VENDOR instead of lsb_release

Simon McVittie smcv at debian.org
Sun Aug 16 19:35:12 UTC 2015


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

smcv pushed a commit to branch master
in repository iortcw.

commit 111116c55e46f0e658663ab48988dafd6e4d610e
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Aug 2 13:41:07 2015 +0100

    Use DEB_VENDOR instead of lsb_release
---
 debian/control | 1 -
 debian/rules   | 4 +---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 729ce25..ed65f0f 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,6 @@ Build-Depends: debhelper (>= 9),
                libsdl2-dev (>= 2.0.0),
                libspeexdsp-dev,
                libvorbis-dev,
-               lsb-release
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-games/iortcw.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/iortcw.git
diff --git a/debian/rules b/debian/rules
index dc09789..b41b5cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,8 +5,6 @@ DEB_MAINT_CFLAGS_APPEND := -fsigned-char
 
 include /usr/share/dpkg/default.mk
 
-distro             := $(shell lsb_release -is)
-
 %:
 	dh $@ --parallel --with=systemd
 
@@ -30,7 +28,7 @@ options := \
 	BUILD_GAME_QVM=0 \
 	$(shell /usr/share/ioquake3/q3arch make ${DEB_HOST_GNU_CPU} ${DEB_HOST_GNU_SYSTEM}) \
 	COPYDIR=/usr/lib/rtcw \
-	VERSION=$(DEB_VERSION)/$(distro) \
+	VERSION=$(DEB_VERSION)/$(DEB_VENDOR) \
 	CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
 	$(NULL)
 sp_options := \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list