[libcode-tidyall-perl] 11/23: Repackage upstream tarball to avoid non-DFSG files and convenience code copies.

Jonas Smedegaard dr at jones.dk
Sat Nov 21 16:43:58 UTC 2015


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

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit bcce828fe14ff9293a7a7a2852a431aeffc762ad
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Nov 21 16:13:13 2015 +0100

    Repackage upstream tarball to avoid non-DFSG files and convenience code copies.
---
 debian/copyright | 4 ++++
 debian/rules     | 5 +++++
 debian/watch     | 2 ++
 3 files changed, 11 insertions(+)

diff --git a/debian/copyright b/debian/copyright
index c4f95ed..675c592 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,10 @@ Upstream-Name: Code::TidyAll
 Upstream-Contact: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Code-TidyAll
 Source: http://search.cpan.org/dist/Code-TidyAll/
  git://github.com/jonswar/perl-code-tidyall.git
+ Repackaged, excluding non-DFSG files and convenience code copies
+Files-Excluded:
+ node_modules/*
+ php5/*
 
 Files: *
 Copyright: 2011-2012, Jonathan Swartz <swartz at pobox.com>
diff --git a/debian/rules b/debian/rules
index fe890e8..f76823f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,11 @@ pkg = $(DEB_SOURCE_PACKAGE)
 DEB_UPSTREAM_PACKAGE = Code-TidyAll
 DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/D/DR/DROLSKY
 
+# repackage to avoid non-DFSG files and convenience code copies
+DEB_UPSTREAM_REPACKAGE_EXCLUDES += \
+ node_modules/ \
+ php5/
+
 # Build-depend unversioned on debhelper
 #  TODO: Drop when adopted in cdbs
 CDBS_BUILD_DEPENDS_rules_debhelper_v9 = debhelper
diff --git a/debian/watch b/debian/watch
index 777dc89..1e8b9b5 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,6 @@
 # Run the "uscan" command to check for upstream updates and more.
 version=3
+opts=dversionmangle=s/\~dfsg.*// \
 http://www.cpan.org/authors/id/D/DR/DROLSKY/Code-TidyAll-([\d.]+)\.tar\.gz
+opts=dversionmangle=s/\~dfsg.*// \
 https://metacpan.org/release/Code-TidyAll .*/Code-TidyAll-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list