]> git.proxmox.com Git - corosync-pve.git/blame - patches/0003-Revert-Switch-to-Debhelper-compat-level-11.patch
build: switch sources to 3.0.1-2
[corosync-pve.git] / patches / 0003-Revert-Switch-to-Debhelper-compat-level-11.patch
CommitLineData
54ebdd30
FG
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3Date: Wed, 24 Oct 2018 12:36:41 +0200
4Subject: [PATCH] Revert "Switch to Debhelper compat level 11"
5
6This reverts commit e11ae7f2f329dab7acf6cb0d70980494a81ad1b2.
7---
8 debian/compat | 2 +-
9 debian/control | 4 +++-
10 debian/rules | 12 ++++++------
11 3 files changed, 10 insertions(+), 8 deletions(-)
12
13diff --git a/debian/compat b/debian/compat
14index b4de3947..ec635144 100644
15--- a/debian/compat
16+++ b/debian/compat
17@@ -1 +1 @@
18-11
19+9
20diff --git a/debian/control b/debian/control
21index 8a2ed29e..888bc650 100644
22--- a/debian/control
23+++ b/debian/control
24@@ -8,9 +8,11 @@ Uploaders:
25 Standards-Version: 4.1.4
26 Build-Depends:
27 augeas-tools,
28- debhelper (>= 11~),
29+ debhelper (>= 9~),
30 dctrl-tools,
31+ dh-autoreconf,
32 dh-exec,
33+ dh-systemd,
34 groff,
35 libdbus-1-dev,
36 libnss3-dev,
37diff --git a/debian/rules b/debian/rules
38index 7108d92c..d863e8e8 100755
39--- a/debian/rules
40+++ b/debian/rules
41@@ -28,7 +28,7 @@ initscript-dir=etc/init.d
42 endif
43
44 %:
45- dh $@
46+ dh $@ --parallel --with autoreconf,systemd
47
48 # Avoid useless dependencies in the libraries
49 override_dh_autoreconf:
50@@ -71,15 +71,15 @@ override_dh_auto_install-arch:
51 debian/tmp/$(initscript-dir)/corosync-qnetd \
52 debian/tmp/usr/share/doc/corosync/LICENSE
53
54-override_dh_missing:
55- dh_missing --fail-missing
56+override_dh_install:
57+ dh_install --fail-missing
58
59 override_dh_installchangelogs:
60 dh_installchangelogs ChangeLog
61
62-override_dh_installsystemd:
63- dh_installsystemd -p corosync-qdevice --no-enable --no-start
64- dh_installsystemd --remaining-packages
65+override_dh_systemd_enable:
66+ dh_systemd_enable -p corosync-qdevice --no-enable
67+ dh_systemd_enable --remaining-packages
68
69 override_dh_strip:
70 dh_strip --dbgsym-migration=corosync-dbg