From 010d3f5187bda5b18713087094d94603d1995162 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 18 Nov 2014 10:43:26 +0100 Subject: [PATCH] MT#7141 update package to 3.0 style Change-Id: If833844480fa52d4ac131a434728bcf918b3c74f --- debian/compat | 2 +- debian/control | 4 ++-- debian/copyright | 2 +- debian/rules | 55 +++----------------------------------------- debian/source/format | 2 +- 5 files changed, 8 insertions(+), 57 deletions(-) diff --git a/debian/compat b/debian/compat index 7ed6ff82..ec635144 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +9 diff --git a/debian/control b/debian/control index 30e877ab..867fafc3 100644 --- a/debian/control +++ b/debian/control @@ -2,8 +2,8 @@ Source: ngcp-db-schema Section: admin Priority: extra Maintainer: Sipwise Development Team -Build-Depends: debhelper (>= 5) -Standards-Version: 3.9.5 +Build-Depends: debhelper (>= 9~) +Standards-Version: 3.9.6 Homepage: http://sipwise.com/ Package: ngcp-db-schema diff --git a/debian/copyright b/debian/copyright index 6af14032..ed3c75bb 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,5 +1,5 @@ Upstream Author: The Sipwise Team - http://sipwise.com -Copyright: 2012, Sipwise GmbH, Austria +Copyright: 2012-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 2fe15a8a..fdf287f5 100755 --- a/debian/rules +++ b/debian/rules @@ -1,60 +1,11 @@ #!/usr/bin/make -f # -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 -b=$(CURDIR)/debian/build - -build: build-stamp - -build-stamp: - dh_testdir - pod2man ./ngcp-check-rev-applied > ./ngcp-check-rev-applied.1 - touch $@ - -clean: - dh_testdir - dh_testroot - rm -rf build-stamp $(b) - dh_auto_clean - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - %: - @echo "--- Building: $@" - dh_installdirs -p$@ -P$(b)/$@ - dh_link -p$@ -P$(b)/$@ - dh_installdocs -p$@ -P$(b)/$@ - dh_installman -p$@ -P$(b)/$@ - dh_installchangelogs -p$@ -P$(b)/$@ - dh_install -p$@ -P$(b)/$@ - dh_link -p$@ -P$(b)/$@ - dh_strip -p$@ -P$(b)/$@ - dh_compress -p$@ -P$(b)/$@ - 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 + dh $@ -binary-indep: build install \ - ngcp-db-schema - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +override_dh_auto_build: + pod2man ./ngcp-check-rev-applied > ./ngcp-check-rev-applied.1 diff --git a/debian/source/format b/debian/source/format index d3827e75..89ae9db8 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -1.0 +3.0 (native)