sec-policy/selinux-base: respect the sanctity of -rN in SRC_URI

This does not really matter for a live ebuild (as that conditional
branch of logic is not ever reached), but it's best to keep it up to
date and accurate in case it's ever copied or used as a reference.

Signed-off-by: Rahul Sandhu <nvraxn@posteo.uk>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/807
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Rahul Sandhu
2026-05-02 20:49:46 +01:00
committed by Eli Schwartz
parent 1a0ca433ed
commit 0fb3f4dac6
@@ -18,9 +18,9 @@ if [[ "${PV}" = 9999* ]]; then
inherit git-r3
else
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PVR}.tar.bz2"
MY_PV=$(ver_cut 1-2)
SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${MY_PV/./_}/refpolicy-${MY_PV}.tar.bz2
https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PV/_p/-r}.tar.bz2"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi