Re: Mock issue with ifarch BuildRequires

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

 



Am 14.07.2009 01:50, schrieb Gianluca Sforna:
Sorry for the cross-posting, I'm trying to get a clue...


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


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




%ifarch and %ifnarch unfortunately don't work in noarch packages. I think that's a bug,
the arch information is there as p.e. ExcludeArch works, and just those two don't get evaluated.

CC: our rpm maintainers for comments

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux