Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
[opensuse-buildservice] Conditional %include?
  • From: Troy Telford <ttelford.groups@xxxxxxxxx>
  • Date: Thu, 12 Apr 2007 18:32:27 -0600
  • Message-id: <200704121832.27808.ttelford.groups@xxxxxxxxx>
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...
-- 
Troy Telford
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups