forked from pool/quilt
Fix inspect (used by quilt setup.)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=39
This commit is contained in:
parent
55cd049528
commit
868ea7821c
20
fix-inspect.patch
Normal file
20
fix-inspect.patch
Normal file
@ -0,0 +1,20 @@
|
||||
From: Jean Delvare <jdelvare@suse.de>
|
||||
Subject: Fix quilt setup
|
||||
|
||||
A previous bug fix uncovered an old bug, which has to be fixed now:
|
||||
a file name of "-" means "read from stdin" for tar.
|
||||
---
|
||||
quilt/scripts/inspect.in | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/quilt/scripts/inspect.in
|
||||
+++ b/quilt/scripts/inspect.in
|
||||
@@ -266,6 +266,8 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
|
||||
;;
|
||||
tar)
|
||||
inputfile=$(tar_input_file "$@")
|
||||
+ # For tar, file - means read from stdin
|
||||
+ [ "$inputfile" = "-" ] && inputfile=
|
||||
;;
|
||||
esac
|
||||
if [ -z "$inputfile" ]; then
|
@ -41,6 +41,7 @@ Patch3: patch-wrapper-rpm.diff
|
||||
Patch4: grep-support-spaces.patch
|
||||
Patch5: suse-workaround-pseudo-release.patch
|
||||
Patch6: mail-fix-delivery-address-checking.patch
|
||||
Patch7: fix-inspect.patch
|
||||
Url: http://savannah.nongnu.org/projects/quilt
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -66,6 +67,7 @@ Authors:
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
autoconf
|
||||
|
Loading…
Reference in New Issue
Block a user