Re: [PATCH v3 2/5] selinux-policy-2.eclass: respect the sanctity of -rN for EAPI=8
"Rahul Sandhu" <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed Apr 8, 2026 at 12:28 AM BST, Kenton Groombridge wrote: > On 26/04/07 08:26AM, Rahul Sandhu wrote: >> +# @ECLASS_VARIABLE: _SELINUX_POLICY_UPSTREAM_PV >> +# @INTERNAL >> +# @DESCRIPTION: >> +# Internal variable representing (spoofed) upstream refpolicy version. >> +_SELINUX_POLICY_UPSTREAM_PV=$(ver_cut 1-2) >> + > > We aren't really spoofing the upstream versioning (even though it really > doesn't mean anything). The Gentoo policy is updated in tandem with > refpolicy, but only when refpolicy cuts a new release do the Gentoo > policy packages use the new version, but it is admittedly by name only. > > Anyways, I think we can reword this to "[...] representing upstream base > branch" or just drop the "(spoofed)" here so future readers don't get > the wrong idea. Yea, fair enough. I'll reword that later today.