commit: 4d672144f7917d2560fcc053736ab3b001a9675a Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Thu Aug 19 16:26:27 2021 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Thu Aug 19 16:27:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d672144
sys-libs/liburing: Revbump to fix version in pkgconfig file Thanks-to: Florian Schmaus <flow <AT> gentoo.org> Closes: https://bugs.gentoo.org/809095 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> .../liburing/files/liburing-2.0-spec_version.patch | 29 ++++++++++++++++++++++ ...{liburing-2.0.ebuild => liburing-2.0-r1.ebuild} | 4 +++ 2 files changed, 33 insertions(+) diff --git a/sys-libs/liburing/files/liburing-2.0-spec_version.patch b/sys-libs/liburing/files/liburing-2.0-spec_version.patch new file mode 100644 index 00000000000..fab05916c36 --- /dev/null +++ b/sys-libs/liburing/files/liburing-2.0-spec_version.patch @@ -0,0 +1,29 @@ +From 1815337f7dbb530ae3e3bc1175d8da214cf76eb5 Mon Sep 17 00:00:00 2001 +From: Stefan Hajnoczi <[email protected]> +Date: Tue, 9 Mar 2021 14:19:12 +0000 +Subject: [PATCH] spec: bump version to 2.0 + +The shared library is now liburing.so.2 but the pkgconfig and rpm files +still say 0.7. Existing binaries link against liburing.so.1 and will not +automatically pick up the new liburing.so.2 shared library. + +Update the version number in liburing.spec so + +Signed-off-by: Stefan Hajnoczi <[email protected]> +Link: https://lore.kernel.org/r/[email protected] +Signed-off-by: Jens Axboe <[email protected]> +--- + liburing.spec | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/liburing.spec b/liburing.spec +index fa4d9704..8607074c 100644 +--- a/liburing.spec ++++ b/liburing.spec +@@ -1,5 +1,5 @@ + Name: liburing +-Version: 0.7 ++Version: 2.0 + Release: 1%{?dist} + Summary: Linux-native io_uring I/O access library + License: (GPLv2 with exceptions and LGPLv2+) or MIT diff --git a/sys-libs/liburing/liburing-2.0.ebuild b/sys-libs/liburing/liburing-2.0-r1.ebuild similarity index 95% rename from sys-libs/liburing/liburing-2.0.ebuild rename to sys-libs/liburing/liburing-2.0-r1.ebuild index 827024e45bc..652b4092a8b 100644 --- a/sys-libs/liburing/liburing-2.0.ebuild +++ b/sys-libs/liburing/liburing-2.0-r1.ebuild @@ -21,6 +21,10 @@ IUSE="static-libs" # fsync test hangs forever RESTRICT="test" +PATCHES=( + "${FILESDIR}/${P}-spec_version.patch" #809095 +) + src_prepare() { default multilib_copy_sources
