From d876d9bcb40dadc9eb3b4a4c9c00a6fd79e28d93 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Thu, 22 May 2014 13:50:46 +0200 Subject: [PATCH] MT#7141 upgrade packaging style --- debian/compat | 2 +- debian/control | 2 +- debian/copyright | 2 +- debian/rules | 57 +------------------------------------------- debian/source/format | 2 +- 5 files changed, 5 insertions(+), 60 deletions(-) diff --git a/debian/compat b/debian/compat index 7ed6ff8..45a4fb7 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +8 diff --git a/debian/control b/debian/control index 954e17b..ee582b8 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: ngcp-metapackages Section: utils Priority: extra Maintainer: Sipwise Development Team -Build-Depends: debhelper (>= 5) +Build-Depends: debhelper (>= 8~) Standards-Version: 3.9.5 Homepage: http://sipwise.com/ diff --git a/debian/copyright b/debian/copyright index 5b78764..1962d4b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,5 +1,5 @@ Upstream Author: The Sipwise Team - http://sipwise.com -Copyright: 2007-2011, Sipwise GmbH, Austria +Copyright: 2007-2014, Sipwise GmbH, Austria License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public diff --git a/debian/rules b/debian/rules index b05bce1..955dd78 100755 --- a/debian/rules +++ b/debian/rules @@ -9,60 +9,5 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -b=$(CURDIR)/debian/build - -build: build-stamp - -build-stamp: - dh_testdir - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -rf $(b) build-stamp - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - %: - @echo "--- Building: $@" - dh_installdirs -p$@ -P$(b)/$@ - dh_link -p$@ -P$(b)/$@ - dh_installdocs -p$@ -P$(b)/$@ - dh_installchangelogs -p$@ -P$(b)/$@ - dh_install -p$@ -P$(b)/$@ - dh_strip -p$@ -P$(b)/$@ - dh_compress -p$@ -P$(b)/$@ - test -f debian/overrides.$(@) && \ - ( mkdir -p $(b)/$(@)/usr/share/lintian/overrides/ && \ - cp -av debian/overrides.$(@) $(b)/$(@)/usr/share/lintian/overrides/$(@) ) || echo "No overrides found for $@" - dh_fixperms -p$@ -P$(b)/$@ - dh_makeshlibs -p$@ -P$(b)/$@ -V - dh_installdeb -p$@ -P$(b)/$@ - dh_shlibdeps -p$@ -P$(b)/$@ - dh_installdebconf -p$@ -P$(b)/$@ - dh_gencontrol -p$@ -P$(b)/$@ - dh_md5sums -p$@ -P$(b)/$@ - dh_builddeb -p$@ -P$(b)/$@ - -binary-all: build install - -binary-indep: build install \ - ngcp-config-ce \ - ngcp-config-pro \ - ngcp-ngcp-ce \ - ngcp-ngcp-pro \ - ngcp-nth-ce \ - ngcp-nth-pro \ - ngcp-services-ce \ - ngcp-services-pro \ - ngcp-services-pro-ha-v3 \ - ngcp-templates-ce \ - ngcp-templates-pro - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install + dh $@ diff --git a/debian/source/format b/debian/source/format index d3827e7..89ae9db 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -1.0 +3.0 (native)