[Crosstoolchain-logs] [SCM] GNU GDB Debian packaging repository branch, master, updated. debian/7.6-3-25-g41eb07a

Samuel Bronson naesten at gmail.com
Sun Jun 16 20:21:37 UTC 2013


The following commit has been merged in the master branch:
commit dfb385ab0303844b2bdc544c27fdcf23d0fb26dd
Author: Samuel Bronson <naesten at gmail.com>
Date:   Sat Jun 15 16:34:11 2013 -0400

    d/rules: Report exact package version much as gcc --version does.

diff --git a/debian/rules b/debian/rules
index 11a8eaf..09fcb96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -178,7 +178,7 @@ ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
 endif
 
 DEB_MAKE_BUILD_TARGET = $(NJOBS) all
-distribution := $(shell lsb_release -is | tr A-Z a-z)
+distribution := $(shell lsb_release -is)
 
 BUILDDIRSOURCE := $(ALL_BUILDDIR)/gdb
 BUILDDIRMIN := $(ALL_BUILDDIR)/gdb-minimal
@@ -186,7 +186,7 @@ BUILDDIRMIN := $(ALL_BUILDDIR)/gdb-minimal
 post-patches::
 	if ! test -f gdb/version.in.backup; then \
 	  mv -f gdb/version.in gdb/version.in.backup; \
-	  sed -e 's/$$/-$(distribution)/' < gdb/version.in.backup > gdb/version.in; \
+	  sed -e 's/$$/ ($(distribution) $(DEB_VERSION))/' < gdb/version.in.backup > gdb/version.in; \
 	fi
 
 # This should probably be common-post-build-arch, but that runs during

-- 
GNU GDB Debian packaging repository



More information about the Crosstoolchain-logs mailing list