mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
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:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user