Received: from mx12.valuehost.ru (mx12.valuehost.ru [217.112.42.215]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id 59CB3781028 for ; Wed, 13 Nov 2019 21:33:14 +0000 (UTC) Received: from mx7.valuehost.ru (unknown [127.0.0.255]) by mx12.valuehost.ru (Postfix) with ESMTP id 4CC756C86B for ; Thu, 14 Nov 2019 00:33:14 +0300 (MSK) From: alpine-mips-patches Date: Wed, 13 Nov 2019 20:14:14 +0000 Subject: [PATCH] main/bash: fix wrong version in bash.pc To: alpine-aports@lists.alpinelinux.org Message-Id: <20191113213314.4CC756C86B@mx12.valuehost.ru> --- main/bash/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD index 6cba929678..fafd574d82 100644 --- a/main/bash/APKBUILD +++ b/main/bash/APKBUILD @@ -6,7 +6,7 @@ pkgver=5.0.11 _patchlevel=${pkgver##*.} _myver=${pkgver%.*} _patchbase=${_myver/./} -pkgrel=0 +pkgrel=1 pkgdesc="The GNU Bourne Again shell" url="https://www.gnu.org/software/bash/bash.html" arch="all" @@ -55,6 +55,9 @@ prepare() { done default_prepare + + # preventively set Version to please 'apk version --check' + sed -i "s/@PACKAGE_VERSION@/$pkgver/" "$builddir"/support/bash.pc.in } build() { -- 2.23.0