r26935 - in /trunk/libquota-perl/debian: README.Debian-source README.source changelog repack.sh rules

thialme-guest at users.alioth.debian.org thialme-guest at users.alioth.debian.org
Sat Nov 15 21:58:34 UTC 2008


Author: thialme-guest
Date: Sat Nov 15 21:58:31 2008
New Revision: 26935

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26935
Log:
Moved contents of README.Debian-source to README.source.
Added a get-orig-source target in debian-rules.
Documented the new target in README.source.
Updated the repack.sh.

Removed:
    trunk/libquota-perl/debian/README.Debian-source
Modified:
    trunk/libquota-perl/debian/README.source
    trunk/libquota-perl/debian/changelog
    trunk/libquota-perl/debian/repack.sh
    trunk/libquota-perl/debian/rules

Modified: trunk/libquota-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libquota-perl/debian/README.source?rev=26935&op=diff
==============================================================================
--- trunk/libquota-perl/debian/README.source (original)
+++ trunk/libquota-perl/debian/README.source Sat Nov 15 21:58:31 2008
@@ -1,3 +1,14 @@
+Upstream tarball repackaged
+===============================================================================
+The file vxquotactl.c has been removed from the archive, because it
+misses clear licensing information and is used only on VxFS.
+
+Here is the way to recreate the Debian tarball from the usptream tarball:
+
+  ./debian/rules get-orig-source
+
+Quilt
+===============================================================================
 This package uses quilt to manage all modifications to the upstream
 source.  Changes are stored in the source package as diffs in
 debian/patches and applied during the build.

Modified: trunk/libquota-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libquota-perl/debian/changelog?rev=26935&op=diff
==============================================================================
--- trunk/libquota-perl/debian/changelog (original)
+++ trunk/libquota-perl/debian/changelog Sat Nov 15 21:58:31 2008
@@ -1,6 +1,9 @@
 libquota-perl (1.6.2+dfsg-3) UNRELEASED; urgency=low
 
   [Franck Joncourt]
+  * Added get-orig-source target to allow users to get the debian tarball
+    easily.
+  * Move contents of README.Debian-source to README.source.
   * Replace uversionmangle by dversionmangle in debian/watch.
     This fixes the following lintian warning:
     http://lintian.debian.org/tags/debian-watch-file-should-dversionmangle\

Modified: trunk/libquota-perl/debian/repack.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libquota-perl/debian/repack.sh?rev=26935&op=diff
==============================================================================
--- trunk/libquota-perl/debian/repack.sh (original)
+++ trunk/libquota-perl/debian/repack.sh Sat Nov 15 21:58:31 2008
@@ -6,9 +6,11 @@
 set -e
 set -u
 
-FILE=$3
+VER="$2"
+FILE="$3"
+DVER="${VER}+dfsg"
 PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'`
-VER=`dpkg-parsechangelog|grep ^Version:|sed 's/^Version: //; s/+dfsg-[^-]\+$//'`
+REPACK_DIR="$PKG-$VER.orig" # DevRef § 6.7.8.2
 
 printf "\nRepackaging $FILE\n"
 
@@ -29,7 +31,6 @@
 
     rm -v $UP_DIR/vxquotactl.c
 
-    REPACK_DIR="$PKG-$VER.orig"
     mv $UP_DIR $REPACK_DIR
     tar -c $REPACK_DIR | gzip -9 > $REPACK
 )
@@ -37,3 +38,5 @@
 mv $DIR/$REPACK $FILE
 
 echo "*** $FILE repackaged"
+
+prename --verbose --force "s/$VER/$DVER/" $FILE

Modified: trunk/libquota-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libquota-perl/debian/rules?rev=26935&op=diff
==============================================================================
--- trunk/libquota-perl/debian/rules (original)
+++ trunk/libquota-perl/debian/rules Sat Nov 15 21:58:31 2008
@@ -75,5 +75,8 @@
 	dh_md5sums
 	dh_builddeb
 
+get-orig-source:
+	uscan -force -verbose
+
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source




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