Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-12 Thread rinigus
All worked as soon as %{_repository} is as in %if "%{_repository}" == "sailfish_3.0.2.8_armv7hl" BuildRequires: libicu52-devel %else BuildRequires: libicu-devel %endif Rinigus On Sun, May 12, 2019 at 8:56 PM rinigus wrote: > PS: And it failed on 3.0.2 - back to the drawing board... > > On Sun,

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-12 Thread rinigus
PS: And it failed on 3.0.2 - back to the drawing board... On Sun, May 12, 2019 at 8:47 PM rinigus wrote: > Martin, > > thanks for pointing in this direction. I added %dump in SPEC and the only > reasonable macro that I could see was _repository. So, I added the > following to differentiate the d

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-12 Thread rinigus
Martin, thanks for pointing in this direction. I added %dump in SPEC and the only reasonable macro that I could see was _repository. So, I added the following to differentiate the dependencies: %if %{_repository} == "sailfish_3.0.2.8_armv7hl" BuildRequires: libicu52-devel %else BuildRequires: lib

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-12 Thread Martin Kolman
Sat, 11 May 2019 17:53:27 +0300 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