Re: [RFC] %configure macro when missing a ./configure script

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

 



On 8/27/2019 11:30 AM, Jason L Tibbitts III wrote:
>>>>>> "JC" == Japheth Cleaver <cleaver@xxxxxxxxxxxxxx> writes:
> JC> I'd like to propose the addition of a "Configuration" section in the
> JC> FPG (probably right under
> JC> https://docs.fedoraproject.org/en-US/packaging-guidelines/#compiler
> JC> ) that addresses the importance of using %configure.
>
> But I don't see what the point of using %configure would be when the
> software being built does not have make use of autotools.
>
> It seems your concern is the build flags, so why not just use
> %set_build_flags?  %configure does that first, then goes through and
> modifies various autotools-related things and finally calls the
> configure script.  It seems that nothing but %set_build_flags is
> relevant at all when autotools isn't in use.

I'd say that will *probably* be the case and could be a safe option, but
%configure could always have more actions added to it. Since if we run
make, we're running an arbitrary Makefile... future-proofing might be good.

%configure is also an omnipresent macro that anyone w/ even a basic
understanding of specs will grok, while %set_build_flags is a bit more
obscure.

-jc

_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-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/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux