diff options
Diffstat (limited to 'main/abuild')
-rw-r--r-- | main/abuild/0001-abuild.in-don-t-fail-if-git-describe-fails.patch | 29 | ||||
-rw-r--r-- | main/abuild/APKBUILD | 10 |
2 files changed, 4 insertions, 35 deletions
diff --git a/main/abuild/0001-abuild.in-don-t-fail-if-git-describe-fails.patch b/main/abuild/0001-abuild.in-don-t-fail-if-git-describe-fails.patch deleted file mode 100644 index 533ca6ff6d..0000000000 --- a/main/abuild/0001-abuild.in-don-t-fail-if-git-describe-fails.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 720a2c185e792b289ce52a56aa15857faa8fa35a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net> -Date: Sun, 22 Apr 2018 16:17:23 +0200 -Subject: [PATCH] abuild.in: don't fail if git describe fails - -`git describe` by default looks for tags, but `git clone` does not clone -tags by default which causes failures on travis currently. - -Also redirect `git describe` errors to /dev/null while being here. ---- - abuild.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/abuild.in b/abuild.in -index 67a596f..2c6feb4 100644 ---- a/abuild.in -+++ b/abuild.in -@@ -1548,7 +1548,7 @@ update_abuildrepo_index() { - subpkg_unset - - if [ -z "$DESCRIPTION" ]; then -- DESCRIPTION="$repo $(cd $startdir && $git describe)" -+ DESCRIPTION="$repo $(cd $startdir && $git describe 2>/dev/null || true)" - fi - - for i in $allarch; do --- -2.17.0 - diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index a8b39a1b0a..61583b9ae8 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=abuild -pkgver=3.2.0_rc1 +pkgver=3.2.0_rc2 _ver=${pkgver%_git*} -pkgrel=1 +pkgrel=0 pkgdesc="Script to build Alpine Packages" url="https://git.alpinelinux.org/cgit/abuild/" arch="all" @@ -20,8 +20,7 @@ subpackages="apkbuild-cpan:cpan:noarch apkbuild-gem-resolver:gems:noarch abuild-rootbld:_rootbld:noarch" options="suid !check" pkggroups="abuild" -source="http://dev.alpinelinux.org/archive/abuild/abuild-$_ver.tar.xz - 0001-abuild.in-don-t-fail-if-git-describe-fails.patch" +source="http://dev.alpinelinux.org/archive/abuild/abuild-$_ver.tar.xz" builddir="$srcdir/$pkgname-$_ver" prepare() { @@ -67,5 +66,4 @@ _rootbld() { mkdir -p "$subpkgdir" } -sha512sums="97f5ca9e2c36d06e0201ad3c31330378b57b760ece63e96c2db01b665e260d7201030fdb827399f5a046d13c68367b4c8a9bc1a04575df07915184fc3b129cbf abuild-3.2.0_rc1.tar.xz -d6b63feb43f534ad7f12f32b4b973453c4485163845743e3314d99011309245405bab1d28adef72c315d8ba5083cf9e0e456d8ee2edbdef150437a7c21753219 0001-abuild.in-don-t-fail-if-git-describe-fails.patch" +sha512sums="479a0c76245ba38e62eb999d83726b5776cb8c86d6a6eb2deef6a9202bf20ee15be58817fd5aacba6f9b19d18ed8709b183f10a5a0e47e4a4ab314e20f47014f abuild-3.2.0_rc2.tar.xz" |