]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
debian: bump compat to 9
authorKefu Chai <kchai@redhat.com>
Wed, 20 Jul 2016 09:28:40 +0000 (17:28 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 20 Jul 2016 18:02:58 +0000 (02:02 +0800)
dh_auto_configure set -DCMAKE_BUILD_TYPE=None so the default does not
take effect at all. this is on purpose, see [1].

and dpkg-buildflags is able to produce the suggested compiling flags by
debian policy. dh_* can pass these flags to cmake only if it works at
compat>=9, see [2].

and we are safe to move to compat 9, as jewel's supported debian based
distro is jessie (with debhelper 9.20150101), ubuntu trusty (with
debhelper 9.20131227ubuntu1)

---
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701233#35
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653916

Fixes: http://tracker.ceph.com/issues/16744
Signed-off-by: Kefu Chai <kchai@redhat.com>
debian/compat
debian/control

index 45a4fb75db864000d01701c0f7a51864bd4daabf..ec635144f60048986bc560c5576355344005e6e7 100644 (file)
@@ -1 +1 @@
-8
+9
index 7307df209f4fcf61b73651f8ff80b53e0ddff460..68de4b9d9c4dcd62054e6fa6913bdc2d9005324e 100644 (file)
@@ -12,7 +12,7 @@ Build-Depends: btrfs-tools,
                cpio,
               cryptsetup-bin | cryptsetup,
                cython,
-               debhelper (>= 8),
+               debhelper (>= 9),
                dh-python,
               dh-systemd,
                default-jdk,