Date: Wednesday, April 13, 2022 @ 14:26:15 Author: dvzrv Revision: 1186049
upgpkg: lib32-libaio 0.3.113-1: Upgrade to 0.3.113. Disable failing test after reporting it upstream: https://pagure.io/libaio/issue/21 Modified: lib32-libaio/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-04-13 13:52:37 UTC (rev 1186048) +++ PKGBUILD 2022-04-13 14:26:15 UTC (rev 1186049) @@ -5,22 +5,25 @@ _name=libaio pkgname=lib32-libaio -pkgver=0.3.112 -pkgrel=2 +pkgver=0.3.113 +pkgrel=1 pkgdesc='The Linux-native asynchronous I/O facility (aio) library' arch=(x86_64) url="https://pagure.io/libaio" license=(LGPL2.1) -depends=(lib32-glibc libaio) +depends=(lib32-glibc $_name=$pkgver) provides=(libaio.so) options=(debug) -source=(https://releases.pagure.org/$_name/$_name-$pkgver.tar.gz) -sha512sums=('5f984529c9f747a6c82f1e4457fc0832bb1fc299ae6e700f2ac5a8ea7b9bfc6ea1e75809728cc115a020cff6685ed1f4e38c6aeacc1ea98dfccce04dd19dafaa') -b2sums=('088f3b195a65bdc97ae2318e47af17c65259ed3208dca7bfef93c81a800602085e5b2078dbd436c740be316d0ebd923a1b3b7c0808257e2e7c7fb0f7ae1e0dba') +source=(https://pagure.io/libaio/archive/$_name-$pkgver/$_name-$_name-$pkgver.tar.gz) +sha512sums=('8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd') +b2sums=('e06c1c1cc118c15f6bed1abfa97368d7ccc0d2e716a233cd4141936fb382e40909c340a6c882b18ee9461aaa23dd77a6644a38bdb5a00c1444538a2e0ab816d4') prepare() { # -Werror, not even once - sed 's/-Werror//' -i $_name-$pkgver/harness/Makefile + sed 's/-Werror//' -i $_name-$_name-$pkgver/harness/Makefile + + # disable failing test until upstream fixes it: https://pagure.io/libaio/issue/21 + rm -rf $_name-$_name-$pkgver/harness/cases/23.t } build() { @@ -29,17 +32,17 @@ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib # and other helpers like stack protection libraries - export CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fno-stack-protector -fno-plt' + export CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe' - make -C $_name-$pkgver + make -C $_name-$_name-$pkgver } check() { - make partcheck -k -C $_name-$pkgver + make partcheck -k -C $_name-$_name-$pkgver } package() { - make DESTDIR="$pkgdir" libdir=/usr/lib32 install -C $_name-$pkgver + make DESTDIR="$pkgdir" libdir=/usr/lib32 install -C $_name-$_name-$pkgver rm -rf "$pkgdir"/usr/include }
