Dne 30.6.2015 v 15:13 Kamil Paral napsal(a):
> Sorry, yes. I meant that the macro would not be available at build
> -time. But as Ralf pointed out, I suppose we could hard-code the value
> rather than use %{?dist}, which makes sense.
>
> I'm not sure of any other specific rationale for not including the dist
> in the Release: field. CCing Dennis Gilmore to see if he knows the
> specifics.
I'm going to talk to Dennis about hardcoding that value in fedora-release if
possible, or we're going to have an alternative logic about that particular package in
libtaskotron.
Could you share the ticket with us if you already created one? I am
asking since there is %{load:<path>} macro in RPM [1] for some while
already and instead of creating the macros.dist on the fly [2], it would
be probably better to have it as a source, where the %dist tag is
defined and just %load it into the fedora-release.spec.
Vít
[1]
http://lists.rpm.org/pipermail/rpm-maint/2014-February/003659.html
[2]
http://pkgs.fedoraproject.org/cgit/fedora-release.git/tree/fedora-release...