forked from pool/quilt
- Fix setup-check-for-rpmbuild.patch: echo was used where printf
was intended (bnc#873817); also update upstream reference OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=83
This commit is contained in:
parent
e1c9c765c9
commit
b2d1ff6a88
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 9 15:46:01 CEST 2014 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- Fix setup-check-for-rpmbuild.patch: echo was used where printf
|
||||||
|
was intended (bnc#873817); also update upstream reference
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 9 14:45:46 CEST 2014 - jdelvare@suse.de
|
Mon Jun 9 14:45:46 CEST 2014 - jdelvare@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From: Jean Delvare <jdelvare@suse.de>
|
From: Jean Delvare <jdelvare@suse.de>
|
||||||
Subject: setup: Check for rpmbuild availability
|
Subject: setup: Check for rpmbuild availability
|
||||||
References: bnc#873817
|
References: bnc#873817
|
||||||
Upstream: Not yet submitted
|
Upstream: Committed (bf8bc1cfc097ab7692d2ce41a9933ea3b0d9e5e7)
|
||||||
|
|
||||||
Before running inspect on a spec file, verify that rpmbuild is
|
Before running inspect on a spec file, verify that rpmbuild is
|
||||||
available. Print a user-friendly error message if not.
|
available. Print a user-friendly error message if not.
|
||||||
@ -18,8 +18,8 @@ available. Print a user-friendly error message if not.
|
|||||||
+ # check if rpmbuild is installed before running inspect
|
+ # check if rpmbuild is installed before running inspect
|
||||||
+ if ! type rpmbuild &> /dev/null
|
+ if ! type rpmbuild &> /dev/null
|
||||||
+ then
|
+ then
|
||||||
+ echo $"You have to install '%s' (from package %s) to use 'quilt %s'\n" \
|
+ printf $"You have to install '%s' (from package %s) to use 'quilt %s'\n" \
|
||||||
+ rpmbuild rpm-build setup >&2
|
+ rpmbuild rpm-build setup >&2
|
||||||
+ exit 1
|
+ exit 1
|
||||||
+ fi
|
+ fi
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user