r28655 - /scripts/qa/packagecheck
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Sun Dec 28 06:40:07 UTC 2008
Author: ryan52-guest
Date: Sun Dec 28 06:40:03 2008
New Revision: 28655
URL: http://svn.debian.org/wsvn/?sc=1&rev=28655
Log:
trailing whitespace
Modified:
scripts/qa/packagecheck
Modified: scripts/qa/packagecheck
URL: http://svn.debian.org/wsvn/scripts/qa/packagecheck?rev=28655&op=diff
==============================================================================
--- scripts/qa/packagecheck (original)
+++ scripts/qa/packagecheck Sun Dec 28 06:40:03 2008
@@ -146,18 +146,18 @@
# check for and add missing new Homepage to source stanza
if ! egrep "^Homepage: " $DIR/debian/control > /dev/null; then
echo "$PKG: trying to add missing Homepage field to source stanza"
-
+
# only construct new URL if we don't have a "real one"
if [ -z "$NEWHP" ] || echo "$NEWHP" | grep cpan\.org > /dev/null; then
PERLNAME=`detect_dist $DIR`
if [ -n "$PERLNAME" ]; then
NEWHP="http://search.cpan.org/dist/$PERLNAME/"
fi
-
+
# get NEWHP from somewhere else? debian/watch? debian/copyright?
fi
-
+
if [ -n "$NEWHP" ]; then
perl -pi -e "s;(Standards-Version:.+);\$1\nHomepage: $NEWHP;" $DIR/debian/control
MSG_CONTROL_ADD="${MSG_CONTROL_ADD:+$MSG_CONTROL_ADD; }Homepage field (source stanza)"
@@ -259,7 +259,7 @@
CHANGED=1
fi
fi
-}
+}
testreadmesource() {
DIR=$1
@@ -267,11 +267,11 @@
# add debian/README.source for quilt using packages
if grep --silent quilt $DIR/debian/control > /dev/null && [ ! -e $DIR/debian/README.source ] ; then
echo "$PKG: adding debian/README.source"
-cat <<- EOF > $DIR/debian/README.source
+cat <<- EOF > $DIR/debian/README.source
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.
-
+
See /usr/share/doc/quilt/README.source for a detailed explanation.
EOF
svn add $DIR/debian/README.source
@@ -372,13 +372,13 @@
# TESTWATCHDIST - -W debian/_w_atch: change CPAN URLs to http://search.cpan.org/dist/Mod-Ule/
[ "$TESTWATCHDIST" = 1 ] && testwatchdist $p
-
+
# TESTRMDIR - -R debian/rules: _r_mdir /usr/\{lib,share\}/perl5 only if they exist
[ "$TESTRMDIR" = 1 ] && testrmdir $p
-
+
# TESTREADMESOURCE - -Q add debian/README.source for _Q_uilt-using packages
[ "$TESTREADMESOURCE" = 1 ] && testreadmesource $p
-
+
# changelog
if [ -n "$MSG_CONTROL_ADD" -o -n "$MSG_CONTROL_RM" -o -n "$MSG_CONTROL_CH" ] ; then
MSG_CONTROL="debian/control:"
@@ -432,7 +432,7 @@
# loop over packages
echo "Grepping through packages ..."
- for PKG in $(svn ls $TRUNK); do
+ for PKG in $(svn ls $TRUNK); do
PKG=${PKG%/}
check_package $TRUNK/$PKG
More information about the Pkg-perl-cvs-commits
mailing list