commit: aee2389acc66f1555ff924525c7b56bba2575b0d Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Tue Feb 22 15:28:41 2022 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Tue Feb 22 15:33:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aee2389a
sys-libs/liburing: Revbump to fix version in pkgconfig files Closes: https://bugs.gentoo.org/833895 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> .../liburing/{liburing-2.1.ebuild => liburing-2.1-r1.ebuild} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sys-libs/liburing/liburing-2.1.ebuild b/sys-libs/liburing/liburing-2.1-r1.ebuild similarity index 84% rename from sys-libs/liburing/liburing-2.1.ebuild rename to sys-libs/liburing/liburing-2.1-r1.ebuild index 268300b356e1..ae14b067cbb3 100644 --- a/sys-libs/liburing/liburing-2.1.ebuild +++ b/sys-libs/liburing/liburing-2.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit multilib-minimal toolchain-funcs @@ -28,6 +28,13 @@ PATCHES=( src_prepare() { default + + if [[ "${PV}" != *9999 ]] ; then + # Make sure pkgconfig files contain the correct version + # bug #809095 and #833895 + sed -i "/^Version:/s@[[:digit:]\.]\+@${PV}@" ${PN}.spec || die + fi + multilib_copy_sources }