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

Gunnar Beutner shroud-guest at moszumanska.debian.org
Wed Jan 14 11:45:36 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 3058b0d19036799a00d55862a893dbdf3b40d049
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  | 4 ++--
 2 files changed, 3 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..304d14c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,11 +12,11 @@ override_dh_auto_build:
 
 override_dh_auto_clean:
 	dh_auto_clean
-	test ! -f third-party/cmake/GNUInstallDirs.cmake.disabled || \
+	test ! -f third-party/cmake/GNUInstallDirs.cmake.disabled -a 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 || \
+	test -f third-party/cmake/GNUInstallDirs.cmake.disabled -a 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 \

-- 
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