2010/1/1 Ben Taylor <bentaylor.solx86 at gmail.com>:
> I have included a new module for review before I start integrating it.
>
> There are some issues in consistency that we should probably address
> since I would be inclined to "%include base-os-selection.inc" in
> base-foss-header.inc. ?However, there is no base-kde-header.inc,
> and it appears that most of that information is contained in the
> KDEhier.spec file.
>
> In the short term, things which do not include base-foss-header.inc
> should include base-os-selection.inc, especially if foss-depend-packages.inc
> is included.
>
> basically, there's are just a bunch of boolean (is_<X>, not_<X>)
> which will make conditional builds work better (such as the current
> problem with strigi......)
>
> For Open Solaris, the version is contained within %{if_osoldev} if
> %{is_osol} is true (1), so conditional tests could be something like:
>
> %if %( test %{is_osol} -eq 1 -a %{if_osoldev} -gt 129 && echo 1 || echo 0)

that will not work for build numbers with letters, like 128a, but I
think it's unlikely we'd need that ATM, so I'd go for pushing it.

>
> if you wanted to test for an open solaris release greater than 129.
>
> please review.
>
> Thanks,
>
> Ben
>

Reply via email to