Re: rawhide no longer recognizing autotool macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 20, 2019 at 6:27 PM Jason Tibbitts <tibbs@xxxxxxxxxxx> wrote:
>
> >>>>> "PK" == Philip Kovacs via devel <devel@xxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux