Re: rpmlint message '%ifarch-applied-patch'

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

 



Hi,

On Wed, Sep 19, 2007 at 01:04:18PM +0100, Richard W.M. Jones wrote:
> What does this rpmlint message mean?  I don't understand why it's harmful 
> to have patches only applying to particular architectures.
>
> -----
>
> ical.src: W: %ifarch-applied-patch Patch3: ical-2.2-ia64.patch
> A patch is applied inside an %ifarch block. Patches must be applied
> on all architectures and may contain necessary configure and/or code
> patch to be effective only on a given arch.
>
> -----

It likely means that you have a construct like this in a spec file:

%ifarch x86_64
Patch1: some.patch
%endif

what means that the patch is included to srpm only on the x86_64 arch.
This is wrong since the patch has to be included in sprm for all arches
even though it's applied only on one arch.

I had build problems related to this recently ;)

-- 
Jindrich Novy <jnovy@xxxxxxxxxx>   http://people.redhat.com/jnovy/

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