Mock issue with ifarch BuildRequires

Gianluca Sforna giallu at gmail.com
Mon Jul 13 23:50:16 UTC 2009


Sorry for the cross-posting, I'm trying to get a clue...


---------- Forwarded message ----------
From: Gianluca Sforna <giallu at gmail.com>
Date: Mon, Jul 13, 2009 at 1:38 AM
Subject: Mock issue with ifarch BuildRequires
To: Discussion of Fedora build system <fedora-buildsys-list at redhat.com>


I am trying to run the tests included in the BuildBot package during
the RPM build, and one of the tests requires darcs, which is built in
Fedora ExclusiveArch %{ix86} x86_64 ppc alpha.
Now, I'm adding to buildbot's spec[1] file an ifarch like:

%ifarch %{ix86} x86_64 ppc alpha
# darcs ExclusiveArchs
BuildRequires:  darcs
%endif

but it seems darcs is never installed in the buildroot [2]

am I just doing something stupid or there's a bug somewhere?

[1] http://cvs.fedoraproject.org/viewvc/rpms/buildbot/devel/buildbot.spec?view=log
[2] http://koji.fedoraproject.org/koji/getfile?taskID=1470380&name=root.log

--
Gianluca Sforna

http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna




More information about the devel mailing list