[Pkg-ceph-commits] [ceph] 02/43: Remove no longer needed check for dh-autoreconf>=6

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Aug 15 21:41:41 UTC 2016


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

gaudenz pushed a commit to branch jewel-gaudenz
in repository ceph.

commit 3d9ec32d27e3081bc46b43ca7744b65f60c20ac2
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date:   Thu Sep 24 11:28:56 2015 +0200

    Remove no longer needed check for dh-autoreconf>=6
    
    This was only releavant for backporting to squeeze. The --as-needed flag
    is supported since wheezy.
---
 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 655e2ea..0e3f2e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,10 +51,8 @@ extraopts += --with-system-libs3
 %:
 	dh $@ --with javahelper,python2,autoreconf,systemd --parallel --max-parallel=$(maxparallel)
 
-# use --as-needed only if supported by dh-autoreconf (to simplify backporting)
-DH_AS_NEEDED=$(shell dpkg --compare-versions $$(dpkg --status dh-autoreconf | grep Version | cut -d' ' -f2) ge 6 && echo --as-needed)
 override_dh_autoreconf:
-	dh_autoreconf $(DH_AS_NEEDED)
+	dh_autoreconf --as-needed
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(extraopts)

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



More information about the Pkg-ceph-commits mailing list