commit:     96949d94615a3eb4efe76cbb2d1686ea2808dd47
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 12 10:37:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 12 10:37:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96949d94

dev-util/cmocka: use ver_cut in SRC_URI

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cmocka/cmocka-1.1.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cmocka/cmocka-1.1.5.ebuild 
b/dev-util/cmocka/cmocka-1.1.5.ebuild
index 23ce594bd892..e16ab06ed23c 100644
--- a/dev-util/cmocka/cmocka-1.1.5.ebuild
+++ b/dev-util/cmocka/cmocka-1.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ inherit cmake-multilib
 
 DESCRIPTION="Unit testing framework for C"
 HOMEPAGE="https://cmocka.org/";
-SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz";
+SRC_URI="https://cmocka.org/files/$(ver_cut 1-2)/${P}.tar.xz"
 
 LICENSE="Apache-2.0"
 SLOT="0"

Reply via email to