SHA256
1
0
forked from pool/quilt

- inspect-skip-version-check.patch: Skip version check when

running "quilt setup" on a spec file. The previous fix only
  worked when running "quilt setup" on a series file.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=88
This commit is contained in:
Jean Delvare 2014-10-09 13:02:55 +00:00 committed by Git OBS Bridge
parent 23339e0c98
commit a11d3f7dd1
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From: Jean Delvare <jdelvare@suse.de>
Subject: inspect: Skip version check
Upstream: Submitted (2014-10-09)
Commit a626fcf8b95f2ff51701a00d65043b9f65207514 (setup: Skip version
check) is insufficient for spec file-based setup commands. inspect
itself also sources patchfns, so it must also skip the version check
explicitly.
---
quilt/scripts/inspect.in | 3 +++
1 file changed, 3 insertions(+)
--- a/quilt/scripts/inspect.in
+++ b/quilt/scripts/inspect.in
@@ -8,6 +8,9 @@
: ${QUILT_DIR=@QUILT_DIR@}
+# Version check is irrelevant to this script.
+skip_version_check=1
+
if ! [ -r $QUILT_DIR/scripts/patchfns ]
then
echo "Cannot read library $QUILT_DIR/scripts/patchfns" >&2

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 9 15:00:35 CEST 2014 - jdelvare@suse.de
- inspect-skip-version-check.patch: Skip version check when
running "quilt setup" on a spec file. The previous fix only
worked when running "quilt setup" on a series file.
-------------------------------------------------------------------
Wed Oct 1 14:10:22 CEST 2014 - jdelvare@suse.de

View File

@ -49,6 +49,7 @@ Patch7: setup-fix-tar-with-long-options.patch
Patch8: quilt-format-options-pass-through.patch
Patch9: pop-add-auto-refresh.patch
Patch10: push-add-auto-refresh.patch
Patch11: inspect-skip-version-check.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Recommends: procmail
@ -78,6 +79,7 @@ http://www.zip.com.au/~akpm/linux/patches/.
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%build
# --with-rpmbuild=/usr/lib/rpm/rpmb: