On Tue, 1 Mar 2005, Ville Skyttä wrote: > On Tue, 2005-03-01 at 21:55 +0100, Dag Wieers wrote: > > > %if %{dist} matches '^el' > > %if 0%(echo %{dist} | grep -q ^el && echo 1) ... Well... :) Things should still be somewhat obvious. I'd much rather have: %if %{?el2} or %{?el3} or %if not %{?el2} and not %{?el3} than %if %{?el2:1}%{?el3:1}0 or ??? Even though you have much flexibility as you just demonstrated, simplicity is important. Especially if you want to build from a single SPEC file you want to bring down the amount of 'ugly glue'. -- dag wieers, dag@xxxxxxxxxx, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]