13 Apr
2007
13 Apr
'07
16:38
Op Friday 13 April 2007 02:32:27 schreef Troy Telford:
Is it possible to do a conditional spec file include?
ie. %if "%_vendor" == "suse" %include %SOURCE1 %else %include %SOURCE2 %endif
I ask because it doesn't seem to care whether it's inside a conditional or not...
You could just include both and install the right one based on the version: %if "%_vendor" == "suse" cp %{SOURCE1} destination %else cp %{SOURCE2} destination %endif -- Richard Bos Without a home the journey is endless --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org