Distribution branch seems not to work...

Hi,
I have one spec with which I try to build openSUSE and Fedora.
In the Fedora-Build I get an Error:


   29s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/home:DocB/Fedora_17/c91491ff75dca97ee2591c96068ea0af-hylafax+' /home/abuild/rpmbuild/SOURCES/hylafax+.spec 
   29s] error: line 246: Second %post

Which is quite strange, as line 246 is in the branch for openSUSE:


%if 0%{?suse_version} < 1200
#pre section will be skipped - we assume no migrations from prior 4.1 release
%post
%{fillup_and_insserv %{name}}
/sbin/ldconfig
if  0$1 -eq 1 ]; then
    /sbin/chkconfig --add hylafax+
fi

The Fedora section is processed earlier in
%if 0%{?fedora} >= 16
%post
… which obviously works. So why is the suse_version triggering work in the Fedora section?
Any hints appreciated!
TIA/Axel

On Fri, 01 Feb 2013 11:26:01 GMT DocB wrote:

> %if 0%{?suse_version} < 1200

Try:
%if 0%{?suse_version} && 0%{?suse_version} < 1200.

That worked, thanks.
Is this a bug to report or a feature?

On Sat, 02 Feb 2013 12:46:01 GMT DocB wrote:

> That worked, thanks.
> Is this a bug to report or a feature?

In a few words, this is a feature.