Re: Exclude Requires for some archs

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

 



Michael Schwendt wrote, at 09/11/2007 06:12 PM +9:00:
On Tue, 11 Sep 2007 11:00:40 +0200, Michael Schwendt wrote:

On Tue, 11 Sep 2007 10:45:02 +0200, Till Maas wrote:

Hiyas,

I want to use
%ifnarch ppc ppc64
Requires: vbetool
%endif
in a package, which should work according to maximum rpm[1] and was suggested by Mamoru Tasaka. Nevertheless koji does not want to build[2] this for ppc(64) because of a missing vbetool. Does someone spot the error in the spec[3]?
ifnarch does not work with a set of archs (like ifarch does). Don't
read it like "if arch NOT in [ppc,ppc64]", but like "if arch NOT equal
to ppc" (a single value only!). So, in your spec, when the targetarch
is ppc, your %ifnarch holds true because ppc!=ppc64, and when the
targetarch is ppc64, it holds true because ppc64!=ppc.

Hmm, scratch that. I have the feeling I've mixed it up with something
else. %ifnarch should really be "NOT %ifarch".


Note: pm-utils dependency problem for vbetool commented here is actually
     not due to the usage of %ifnarch (bug 285361)

Regards,
Mamoru

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