[libdynaloader-functions-perl] 05/15: Simplify rules: Do copyright-check in maintainer script (not during build). Stop build-depend on devscripts.
Jonas Smedegaard
dr at jones.dk
Sat Oct 28 19:25:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.003-1
in repository libdynaloader-functions-perl.
commit c59e680db18b060cefba4c1c8584e628512d0cbd
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sat Oct 28 21:10:05 2017 +0200
Simplify rules: Do copyright-check in maintainer script (not during build). Stop build-depend on devscripts.
---
debian/control | 1 -
debian/{rules => copyright-check} | 20 ++++++++------------
debian/rules | 1 -
3 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/debian/control b/debian/control
index ca696d8..aff9bf9 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,6 @@ Source: libdynaloader-functions-perl
Section: perl
Priority: optional
Build-Depends: cdbs,
- devscripts,
perl,
libmodule-build-perl,
debhelper,
diff --git a/debian/rules b/debian/copyright-check
similarity index 52%
copy from debian/rules
copy to debian/copyright-check
index d539cfe..129b94d 100755
--- a/debian/rules
+++ b/debian/copyright-check
@@ -1,7 +1,6 @@
-#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright 2015, Jonas Smedegaard <dr at jones.dk>
-# Description: Main Debian packaging script for DynaLoader::Functions
+#!/bin/sh
+# Copyright © 2016-2017 Jonas Smedegaard <dr at jones.dk>
+# Description: helper script to update copyright_hints
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,13 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-include /usr/share/cdbs/1/rules/upstream-tarball.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/perl-build.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
+set -eu
-pkg = $(DEB_SOURCE_PACKAGE)
+make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
+make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
-DEB_UPSTREAM_PACKAGE = DynaLoader-Functions
-DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/Z/ZE/ZEFRAM
-DEB_UPSTREAM_TARBALL_MD5 = f32c0a426d2b3aa59994332456b64d6e
+# unconditionally merge changes - safe to do with git-tracked package
+[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints
diff --git a/debian/rules b/debian/rules
index d539cfe..03356e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
include /usr/share/cdbs/1/rules/upstream-tarball.mk
-include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/perl-build.mk
include /usr/share/cdbs/1/rules/debhelper.mk
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdynaloader-functions-perl.git
More information about the Pkg-perl-cvs-commits
mailing list