r20100 - in /trunk/libmath-calculus-expression-perl/debian: repack.sh watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun May 18 17:33:57 UTC 2008


Author: gregoa
Date: Sun May 18 17:33:54 2008
New Revision: 20100

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20100
Log:
add uversionmangle to debian/watch because we change the upstream version due to repacking; debian/repack.sh: remove 'rm' stuff from example script and move 'chmod' at its place

Modified:
    trunk/libmath-calculus-expression-perl/debian/repack.sh
    trunk/libmath-calculus-expression-perl/debian/watch

Modified: trunk/libmath-calculus-expression-perl/debian/repack.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-calculus-expression-perl/debian/repack.sh?rev=20100&op=diff
==============================================================================
--- trunk/libmath-calculus-expression-perl/debian/repack.sh (original)
+++ trunk/libmath-calculus-expression-perl/debian/repack.sh Sun May 18 17:33:54 2008
@@ -27,15 +27,13 @@
 UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`"
 fi
 
-## Remove stuff
-rm -vr $UP_BASE/t
-sed -i '/^t\// d' $UP_BASE/MANIFEST
+## Change permissions, otherwise dpkg-source -x fails
+chmod 755 $UP_BASE
 ## End
 
 mv "$UP_BASE" "$DIR/$REPACK_DIR"
 
 # Using a pipe hides tar errors!
-chmod 755 "$DIR/$REPACK_DIR"
 tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR"
 gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz"
 

Modified: trunk/libmath-calculus-expression-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-calculus-expression-perl/debian/watch?rev=20100&op=diff
==============================================================================
--- trunk/libmath-calculus-expression-perl/debian/watch (original)
+++ trunk/libmath-calculus-expression-perl/debian/watch Sun May 18 17:33:54 2008
@@ -1,2 +1,3 @@
 version=3
+opts=uversionmangle=s/(?=$)/.ds/ \
 http://search.cpan.org/dist/Math-Calculus-Expression/   .*/Math-Calculus-Expression-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian debian/repack.sh




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