[Pkg-nagios-changes] [pkg-icinga2] 01/01: Add support for squeeze (WIP)

Gunnar Beutner shroud-guest at moszumanska.debian.org
Wed Jan 14 11:55:16 UTC 2015


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

shroud-guest pushed a commit to branch squeeze-support
in repository pkg-icinga2.

commit f08b5a8a8ee252ed707168aff93a9ed507ff9cf6
Author: Gunnar Beutner <gunnar at beutner.name>
Date:   Wed Jan 14 12:33:20 2015 +0100

    Add support for squeeze (WIP)
---
 debian/compat | 2 +-
 debian/rules  | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/compat b/debian/compat
index ec63514..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+8
diff --git a/debian/rules b/debian/rules
index 822a5b3..3b3536f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,11 +13,13 @@ override_dh_auto_build:
 override_dh_auto_clean:
 	dh_auto_clean
 	test ! -f third-party/cmake/GNUInstallDirs.cmake.disabled || \
-		mv third-party/cmake/GNUInstallDirs.cmake.disabled third-party/cmake/GNUInstallDirs.cmake
+		(dpkg --compare-versions `cat /etc/debian_version` '>=' 7 && \
+			mv third-party/cmake/GNUInstallDirs.cmake.disabled third-party/cmake/GNUInstallDirs.cmake)
 
 override_dh_auto_configure:
 	test -f third-party/cmake/GNUInstallDirs.cmake.disabled || \
-		mv third-party/cmake/GNUInstallDirs.cmake third-party/cmake/GNUInstallDirs.cmake.disabled
+		(dpkg --compare-versions `cat /etc/debian_version` '>=' 7 && \
+			mv third-party/cmake/GNUInstallDirs.cmake third-party/cmake/GNUInstallDirs.cmake.disabled)
 	dh_auto_configure -- \
 		-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
 		-DCMAKE_INSTALL_SYSCONFDIR=/etc \

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



More information about the Pkg-nagios-changes mailing list