diff --git a/inspect-shell-syntax-errors.patch b/inspect-shell-syntax-errors.patch new file mode 100644 index 0000000..d43ea7c --- /dev/null +++ b/inspect-shell-syntax-errors.patch @@ -0,0 +1,24 @@ +--- + quilt/scripts/inspect.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- quilt-0.48.orig/quilt/scripts/inspect.in ++++ quilt-0.48/quilt/scripts/inspect.in +@@ -143,7 +143,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper + md5sum=$1 + while read md5sum_ file_ + do +- if [ $md5sum = $md5sum_ ] ++ if [ "$md5sum" = "$md5sum_" ] + then + echo ${file_#\*} + return 0 +@@ -162,7 +162,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper + + while read md5sum_ file_ + do +- if [ $md5sum = $md5sum_ ] ++ if [ "$md5sum" = "$md5sum_" ] + then + echo ${file_#\*} + return 0 diff --git a/quilt.changes b/quilt.changes index 7abcc21..ca0c95c 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 6 18:53:45 CEST 2011 - ohering@suse.de + +- inspect-shell-syntax-errors.patch: Quote strings in inspect + helper script to avoid flood of shell syntax errors during + quilt setup -v *.spec. + ------------------------------------------------------------------- Tue Nov 2 18:47:20 CET 2010 - jdelvare@suse.de diff --git a/quilt.spec b/quilt.spec index 442bd5d..a75b2b4 100644 --- a/quilt.spec +++ b/quilt.spec @@ -19,12 +19,12 @@ Name: quilt -BuildRequires: diffstat ed procmail emacs-nox +BuildRequires: diffstat ed emacs-nox procmail Summary: A Tool for Working with Many Patches License: GPLv2+ Group: Productivity/Text/Utilities Version: 0.48 -Release: 7 +Release: 13 Requires: coreutils diffutils patch gzip bzip2 perl mktemp diffstat file %if %{suse_version} > 910 Recommends: procmail @@ -46,6 +46,7 @@ Patch11: fix-patch-version-detection.patch Patch12: setup-add-fuzz-parameter.patch Patch13: setup-support-reverse-patch.patch Patch14: completion-revert.patch +Patch15: inspect-shell-syntax-errors.patch Url: http://savannah.nongnu.org/projects/quilt BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -65,7 +66,7 @@ Authors: %prep %setup -q -%patch -p1 -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -P 7 -P 8 -P 9 -P 10 -P 11 -P 12 -P 13 -P 14 +%patch -p1 -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -P 7 -P 8 -P 9 -P 10 -P 11 -P 12 -P 13 -P 14 -P 15 %build autoconf