[Pkg-ceph-commits] [ceph] 10/12: Remove no longer needed check for dh-autoreconf>=6
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Mon Oct 12 14:24:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
gaudenz pushed a commit to branch master
in repository ceph.
commit 901a83b5831fc058f69c1d586ced84c2427c504d
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 06c0190..b977a45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,10 +39,8 @@ extraopts += --with-system-libs3
%:
dh $@ --with javahelper,python2,autoreconf,bash-completion --parallel
-# 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