Re: [PATCH] Small script to patch .spec for Suse
From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:12
Dear diary, on Tue, Nov 15, 2005 at 09:36:52PM CET, I got a letter where "H. Peter Anvin" [off-list ref] said that...
Junio C Hamano wrote:quoted
I've applied the patch from HPA to update it to git.spec already in my tree, so your script would not work any more ;-) But seriously, I suspect we should take a hint from the fact that "git.spec.in" has ".in" in its name already.I'd prefer to have just @@OPENSSH_PACKAGE@@ and @@EXPAT_PACKAGE@@ instead of completely virtualizing the dependencies. Less flexible to be sure, but it makes it less confusing to read and fix.
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. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.