From: H. Peter Anvin Date: Tue, 15 Nov 2005 22:22:39 GMT Subject: Re: [PATCH] Small script to patch .spec for Suse Message-ID: <437A5FAF.2000609@zytor.com> In-Reply-To: <20051115215943.GW30496@pasky.or.cz> Petr Baudis wrote: > > Actually, can you have some kind of %if in specfiles? Then you could > keep everything in the specfile and just pass it whatever system you > want to build for. > Sure. It's called %if. There is also %ifdef and %define. -hpa