Re: Mock issue with ifarch BuildRequires

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

 





On Jul 16, 2009, at 5:16, Karsten Hopp <karsten@xxxxxxxxxx> wrote:

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


ExcludeArch only works due to some hacks in our compose tools that looks at the srpm info to see if the srpm has that info. The info itself does not make it to the noarch rpm file.

--
Jes
--
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