SHA256
1
0
forked from pool/quilt
quilt/inspect-skip-version-check.patch
Jean Delvare a11d3f7dd1 - 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
2014-10-09 13:02:55 +00:00

25 lines
690 B
Diff

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