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