[Fedora-packaging] Re: Using %{dist} for conditional compilation

Michael A. Peters mpeters at mac.com
Fri Jul 15 22:28:57 UTC 2005


On Fri, 2005-07-15 at 14:48 -0600, Orion Poplawski wrote:
> Is it kosher to use the %{dist} tag for conditional compilation?

No, I don't think so - because %{dist} is not defined on the users
machines, only defined on the build machine, in mock.

different spec files in the different branches seems best to me.

>   The 
> shift from g77 to gfortran in FC3->FC4 has led to the need to compile 
> packages differently for the two distributions.
> 




More information about the Fedora-packaging mailing list