On Sat, Jun 03, 2006 at 11:33:43AM +0200, Adrian Schröter wrote:
I think there is no other way than to stack this like this:
%if %{?suse_version:1}0 %if %suse_version > 930 # do something only on SUSE 9.3 %endif %endif
Come on, be creative: %if 0%{?suse_version} >= 930 # do something only on SUSE 9.3 %endif (rpm uses "atoi" to convert to an integer, so there's no danger that it is interpreted as octal...) Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org