Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-13 Thread rinigus
Dear Pekka, thank you very much - its way better to use it through pkgconfig. Didn't find this option a while ago when I was writing original SPEC files and didn't look for it either. Cheers, Rinigus On Mon, May 13, 2019 at 10:24 AM Pekka Vuorela wrote: > On Sun, 2019-05-12 at 20:47 +0300, ri

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-13 Thread Pekka Vuorela
On Sun, 2019-05-12 at 20:47 +0300, 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 dependencies: > > %if %{_repository} == "sailfish_3.0.2.