[SailfishDevel] Boolean dependencies in RPM SPEC

David Llewellyn-Jones david at flypig.co.uk
Sat May 11 13:30:09 UTC 2019


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
> the same SPEC file? On device, RPM has version 4.14, if its of any
> importance.

For 'BuildRequires', it's presumably the versioning in your SDK tooling
which is important, rather than the RPM version on your device. It may
be worth checking that too.

Or is the problem you're experiencing happening at install time (i.e. in
relation to the 'Requires' on line 36 of that file)? I can't see any
difference between your version and the examples in the spec you posted.

David
-- 
Website: http://www.flypig.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: david.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20190511/723cc5bd/attachment.vcf>


More information about the Devel mailing list