From b31f09978bb57a385810614403d853581e4e35ea1997796b0305437d28269d22 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 28 Feb 2011 14:31:09 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/build-compare revision 47.0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=d18315500b1068d5e20575b23ed6975c --- build-compare.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-compare.spec b/build-compare.spec index 419b4d4..8f30128 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -1,7 +1,7 @@ # -# spec file for package build-compare (Version 2009.10.14) +# spec file for package build-compare # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ Group: Development/Tools/Building AutoReqProv: on Summary: Build Result Compare Script Version: 2011.02.28 -Release: 26 +Release: 1 Source1: COPYING Source2: same-build-result.sh Source3: rpm-check.sh From c5af3d6c71cadd94d3289b991a5ab28633f512fb3e0b75ea571e0943805cbe2f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 15 Mar 2011 10:43:30 +0000 Subject: [PATCH 2/2] Accepting request 64168 from home:a_jaeger:branches:build-compare-test ok OBS-URL: https://build.opensuse.org/request/show/64168 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=93 --- build-compare.changes | 5 +++++ rpm-check.sh | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build-compare.changes b/build-compare.changes index 60a0b5d..12ffd25 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 15 08:36:26 UTC 2011 - aj@suse.de + +- Use perl -e instead of -E (bnc#679562). + ------------------------------------------------------------------- Mon Feb 28 14:00:35 UTC 2011 - aj@suse.de diff --git a/rpm-check.sh b/rpm-check.sh index c3ba7ba..f0f8c91 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -1,6 +1,6 @@ #! /bin/bash # -# Copyright (c) 2009, 2010 SUSE Linux Product GmbH, Germany. +# Copyright (c) 2009, 2010, 2011 SUSE Linux Product GmbH, Germany. # Licensed under GPL v2, see COPYING file for details. # # Written by Michael Matz and Stephan Coolo @@ -219,8 +219,8 @@ check_single_file() done return $ret;; *.pyc|*.pyo) - perl -E "open fh, '+<', 'old/$file'; seek fh, 3, SEEK_SET; print fh '0000';" - perl -E "open fh, '+<', 'new/$file'; seek fh, 3, SEEK_SET; print fh '0000';" + perl -e "open fh, '+<', 'old/$file'; seek fh, 3, SEEK_SET; print fh '0000';" + perl -e "open fh, '+<', 'new/$file'; seek fh, 3, SEEK_SET; print fh '0000';" ;; *.bz2) bunzip2 -c old/$file > old/${file/.bz2/}