Feb 1, 2013

openSUSE Forums: Distribution branch seems not to work...

openSUSE Forums
openSUSE Forums
Distribution branch seems not to work...
Feb 1st 2013, 11:17

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

[  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:
Code:

%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

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: