On Wed, 2012-02-29 at 05:31 +0100, Kevin Kofler wrote:
Tom Lane wrote:
> Kevin Kofler <kevin.kofler(a)chello.at> writes:
>> VÃt Ondruch wrote:
>>> If you say to Koji that it should checkout master at remote machine,
>>> build a SRPM etc, why the Koji can't determine the proper %{?dist} at
>>> remote machine? Why it takes the %{?dist} from local machine instead? It
>>> makes no sense. It might work for other branches, but master is bit
>>> different, so it should be handled differently.
>
>> Yes, for fedpkg build, the client should not have to care about what
>> %{?dist} is at all. It should just ask Koji to build the current git hash
>> in Rawhide and that's it.
>
> Nope, it's not that easy, as some purely-local operations (eg "fedpkg
> srpm") also want to know the dist tag.
Those operations can use Jesse's heuristics, but there's no good reason to
use them for fedpkg build.
I would certainly be very confused if `fedpkg mockbuild` produced a f17
rpm but `fedpkg build` produced an f18 one.
--
Mathieu