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

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

Ralf Corsepius wrote:
On Wed, 2007-09-19 at 14:10 +0200, Jindrich Novy wrote:

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

Besides this, this patch seems rather silly to me.

Instead of trying to mess around with local defs of gethostname(),
you should probably better "#include <unistd.h>".


PS.:  __linux__ is the correct (POSIX-compliant) define to identify

This code is ancient history anyway. Development on ical was _abandoned_ around 1994.



Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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