diff --git a/quilt.changes b/quilt.changes index 20f2a16..33d9526 100644 --- a/quilt.changes +++ b/quilt.changes @@ -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 diff --git a/setup-check-for-rpmbuild.patch b/setup-check-for-rpmbuild.patch index de67b48..253a06c 100644 --- a/setup-check-for-rpmbuild.patch +++ b/setup-check-for-rpmbuild.patch @@ -1,7 +1,7 @@ From: Jean Delvare Subject: setup: Check for rpmbuild availability References: bnc#873817 -Upstream: Not yet submitted +Upstream: Committed (bf8bc1cfc097ab7692d2ce41a9933ea3b0d9e5e7) Before running inspect on a spec file, verify that rpmbuild is 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 + if ! type rpmbuild &> /dev/null + then -+ echo $"You have to install '%s' (from package %s) to use 'quilt %s'\n" \ -+ rpmbuild rpm-build setup >&2 ++ printf $"You have to install '%s' (from package %s) to use 'quilt %s'\n" \ ++ rpmbuild rpm-build setup >&2 + exit 1 + fi +