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

[glibc] 01/01: debian/rules.d/debhelper.mk: relax the dependency on linux-libc-dev to the upstream version.



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

aurel32 pushed a commit to branch sid
in repository glibc.

commit e407ddf11df5f5c5219df5e3d408ea61a381acfc
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Thu Jun 22 16:47:27 2017 +0200

    debian/rules.d/debhelper.mk: relax the dependency on linux-libc-dev to the upstream version.
---
 debian/changelog            | 4 +++-
 debian/rules.d/debhelper.mk | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 21a55f8..e5bce4f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 glibc (2.24-13) UNRELEASED; urgency=medium
 
-  * 
+  [ Aurelien Jarno ]
+  * debian/rules.d/debhelper.mk: relax the dependency on linux-libc-dev to the
+    upstream version.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 19 Jun 2017 17:36:36 +0200
 
diff --git a/debian/rules.d/debhelper.mk b/debian/rules.d/debhelper.mk
index 23de222..77b2350 100644
--- a/debian/rules.d/debhelper.mk
+++ b/debian/rules.d/debhelper.mk
@@ -164,7 +164,7 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
 	if [ -n "$$CTB_LIBC_DEV_DEPENDS" ]; then \
 	  depends=$$CTB_LIBC_DEV_DEPENDS; \
 	else \
-	  depends=$$(dpkg-query -f '$${binary:Package} (>= $${Version}) ' -W linux-libc-dev:$(DEB_HOST_ARCH) | sed -e 's/:\S\+//'); \
+	  depends=$$(dpkg-query -f '$${binary:Package} (>= $${source:Upstream-Version}) ' -W linux-libc-dev:$(DEB_HOST_ARCH) | sed -e 's/:\S\+//'); \
 	fi; \
 	echo "libc-dev:Depends=$$depends" >> tmp.substvars
 endif

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


Reply to: