r41116 - in /trunk/libmodule-starter-perl: debian/changelog debian/repack.local debian/repack.stub debian/watch getting-started.html
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Mon Aug 3 02:18:07 UTC 2009
Author: jawnsy-guest
Date: Mon Aug 3 02:17:58 2009
New Revision: 41116
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41116
Log:
Added a repack to get rid of getting-started.html
Added:
trunk/libmodule-starter-perl/debian/repack.local
trunk/libmodule-starter-perl/debian/repack.stub
Removed:
trunk/libmodule-starter-perl/getting-started.html
Modified:
trunk/libmodule-starter-perl/debian/changelog
trunk/libmodule-starter-perl/debian/watch
Modified: trunk/libmodule-starter-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-perl/debian/changelog?rev=41116&op=diff
==============================================================================
--- trunk/libmodule-starter-perl/debian/changelog (original)
+++ trunk/libmodule-starter-perl/debian/changelog Mon Aug 3 02:17:58 2009
@@ -1,10 +1,4 @@
libmodule-starter-perl (1.520-1) UNRELEASED; urgency=low
-
- IGNORE-VERSION: 1.500-1
- NO NEED TO UPLOAD: cosmetic CPAN-only-visible changes
-
- FIXME: The license of getting-started.html does not permit modifications.
- repackaging needed
[ Jonathan Yu ]
* New upstream release
@@ -18,6 +12,7 @@
the version requirements are satisfied by oldstable and newer
* Standards-Version 3.8.2 (no changes)
* Bumped compat to 7
+ * Added a repack to get rid of getting-started.html
[ gregor herrmann ]
* Add debian/README.source to document quilt usage, as required by
Added: trunk/libmodule-starter-perl/debian/repack.local
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-perl/debian/repack.local?rev=41116&op=file
==============================================================================
--- trunk/libmodule-starter-perl/debian/repack.local (added)
+++ trunk/libmodule-starter-perl/debian/repack.local Mon Aug 3 02:17:58 2009
@@ -1,0 +1,2 @@
+MANIFEST=1
+rm getting-started.html
Added: trunk/libmodule-starter-perl/debian/repack.stub
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-perl/debian/repack.stub?rev=41116&op=file
==============================================================================
--- trunk/libmodule-starter-perl/debian/repack.stub (added)
+++ trunk/libmodule-starter-perl/debian/repack.stub Mon Aug 3 02:17:58 2009
@@ -1,0 +1,39 @@
+#!/bin/sh
+
+# put this in debian/repack.stub and add "debian sh debian/repack.stub" to
+# the end of the line in debian/watch
+
+# then create a debian/repack.local. this is a shell script that is
+# sources under "set -e", so be careful to check returns codes.
+
+# special functions:
+# rm is replaced by a function that does some magic ("rm -rv" by
+# default), but also changes MANIFEST if $MANIFEST is 1
+# mv is replaced by a function that just does mv (by default), but
+# also changes MANIFEST if $MANIFEST is 1
+# requires_version is there for future usage for requiring certain
+# versions of the script
+
+# special variables:
+# SUFFIX (defaults to +dfsg)
+# RM_OPTS (defaults to -vrf)
+# MANIFEST (defaults to 0, set to 1 to turn on. this will manipulate
+# MANIFEST files in CPAN tarballs.)
+
+if [ -z "$REPACK_SH" ]; then
+ if [ -f ../../scripts/repack.sh ]; then
+ REPACK_SH=../../scripts/repack.sh
+ fi
+ if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then
+ REPACK_SH=$(which repack.sh)
+ fi
+fi
+
+if [ ! -f "$REPACK_SH" ]; then
+ echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable"
+ echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh"
+ exit 1
+fi
+
+exec "$REPACK_SH" "$@"
+
Modified: trunk/libmodule-starter-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-starter-perl/debian/watch?rev=41116&op=diff
==============================================================================
--- trunk/libmodule-starter-perl/debian/watch (original)
+++ trunk/libmodule-starter-perl/debian/watch Mon Aug 3 02:17:58 2009
@@ -1,11 +1,6 @@
-# format version number, currently 3; this line is compulsory!
version=3
-# force three-digit minor upstream version numbers
-# Fights against letting us stuck at 1.470 in the following series of releases
-# 1.50
-# 1.470
-# 1.42
-# 1.22
-# 1.20
-opts="uversionmangle=s/(\.\d)$/${1}0/; s/(\.\d\d)$/${1}0/" \
-http://search.cpan.org/dist/Module-Starter/ .*/Module-Starter-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+
+opts="uversionmangle=s/\.\d\d$/$&0/;s/\.\d$/$&00/" \
+ http://search.cpan.org/dist/Module-Starter/ \
+ .*/Module-Starter-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \
+ debian sh debian/repack.stub
More information about the Pkg-perl-cvs-commits
mailing list