On Thu, Jun 20, 2019 at 6:27 PM Jason Tibbitts <ti...@math.uh.edu> wrote:
>
> >>>>> "PK" == Philip Kovacs via devel <devel@lists.fedoraproject.org> writes:
>
> PK> Years ago when I was writing my specs to add the packages I now
> PK> maintain, I recall someone recommended to me the use of these macros as
> PK> Fedora "tribal knowledge." I am happy to remove mine if their use is
> PK> unnecessary and could lead to breakage.
>
> They have been banned by the Fedora packaging guidelines for quite a
> long time now:
>
> Macro forms of system executables SHOULD NOT be used except when there
> is a need to allow the location of those executables to be
> configurable. For example, rm should be used in preference to %{__rm},
> but %{__python} is acceptable.
>
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_macros
>
> Though now I believe that statement now needs revision itself as we have
> also banned unversioned python macros.  Will have to think of better
> language for that.
>

We have not fully banned %__python, we just require it to be set to a
versioned Python interpreter for packaging. This is done in a few
packages now where multiple builds for each interpreter is unwanted or
unneeded.


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to