From: Josef Weidendorfer Date: Wed, 16 Nov 2005 01:32:14 GMT Subject: Re: [PATCH] Small script to patch .spec for Suse Message-ID: <200511160232.15162.Josef.Weidendorfer@gmx.de> In-Reply-To: <437A5FAF.2000609@zytor.com> On Tuesday 15 November 2005 23:22, H. Peter Anvin wrote: > Sure. It's called %if. There is also %ifdef and %define. So by replacing @@FOR_SUSE@@ to 0 or 1 in the Makefile, this: %if @@FOR_SUSE@@ BuildRequires: openssh ... %else BuildRequires: openssh-clients ... %endif would work? Josef