[pkg-perl-tools] 04/07: examples/check-build: update stripping of binary packages.

gregor herrmann gregoa at debian.org
Sat Apr 4 18:43:33 UTC 2015


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

gregoa pushed a commit to branch master
in repository pkg-perl-tools.

commit 8905e08903e025e85415c52e151ffa09d7584774
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Apr 4 20:28:36 2015 +0200

    examples/check-build: update stripping of binary packages.
    
    Besides removing .deb lines from the .changes file, also change the
    Architecture: field.
---
 examples/check-build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/check-build b/examples/check-build
index 0b96217..1373257 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -122,6 +122,7 @@ else
 			if [ "$STRIPARCHANY" = "y" ]; then
 				ALLONLYCHANGES="${CHANGES%%_$ARCH.changes}_allonly.changes"
 				sed "/_$ARCH\.deb/ d" "$CHANGES" > "$ALLONLYCHANGES"
+				perl -pi -e "s,^Architecture: source $ARCH$,Architecture: source," "$ALLONLYCHANGES"
 				debsign "$ALLONLYCHANGES"
 				echo
 				cat "$ALLONLYCHANGES"

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



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