[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 02/03: debian/rules: better glibc version detection for snapshots.



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

aurel32 pushed a commit to branch glibc-2.24
in repository glibc.

commit 03d6f8269af74b76cda2b02a1d09d15fb551ccef
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Mon Jul 11 22:38:06 2016 +0200

    debian/rules: better glibc version detection for snapshots.
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b38d41a..ed1e98b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ glibc (2.23.90+20160711.c10f90d-1) UNRELEASED; urgency=medium
   * Replace debian/patches/alpha/submitted-trunc.diff by
     debian/patches/alpha/submitted-math-fixes.diff containing additional
     math fixes.
+  * debian/rules: better glibc version detection for snapshots.
 
  -- Aurelien Jarno <aurel32@debian.org>  Tue, 05 Jul 2016 20:50:17 +0200
 
diff --git a/debian/rules b/debian/rules
index 79ef8ba..d8c7272 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,7 +46,7 @@ DEB_BUILD_GNU_TYPE    ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':'))
 
 DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
-GLIBC_VERSION = $(shell echo $(DEB_VERSION) | sed -e 's/.*://' -e 's/-.*//')
+GLIBC_VERSION = $(shell echo $(DEB_VERSION) | sed -e 's/.*://' -e 's/[+-].*//')
 
 # The minimum package version with which these packages are compatible.
 shlib_dep_ver = $(GLIBC_VERSION)

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


Reply to: