Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-11 Thread rinigus
Summary from IRC chat on the topic: David spotted that BuildRequires is not mentioned in the list of boolean dependencies (thank you!). So, next question: which condition could I use in %if expansion of SPEC to distinguish SFOS 3.0.3.x from the earlier versions? Maybe there is some variable define

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-11 Thread rinigus
Hi, the problem is while building at OBS: https://build.merproject.org/package/show/home:rinigus:maps/mapnik Rinigus On Sat, May 11, 2019 at 4:30 PM David Llewellyn-Jones wrote: > On 11/05/2019 16:12, rinigus wrote: > [snip] > > BuildRequires: (libicu52-devel or libicu-devel) > > > > as in > >

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-11 Thread David Llewellyn-Jones
On 11/05/2019 16:12, rinigus wrote: [snip] > BuildRequires: (libicu52-devel or libicu-devel) > > as in > https://github.com/rinigus/pkg-mapnik/blob/da5b6a11667b286c89bbee93eb57e2d4d52d5902/rpm/mapnik.spec#L16 >   [snip] > Hence the question - how can I add support for 3.0.2.x and 3.0.3.x using > t

[SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-11 Thread rinigus
Hi, with SFOS 3.0.3.x, we have new ICU version which is packaged into libicu and libicu-devel. As a result, name of the package is different from the earlier one (had icu52 in the names) and RPM SPEC files need to change the dependency accordingly. I tried to use `or` in the SPEC without any succe