Re: Compat packages and pkgconfig & cmake provides

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 7, 2021 at 2:29 PM Richard Shaw <hobbes1069@xxxxxxxxx> wrote:
>
> NOTE: This is part of the ongoing saga that is the OpenEXR project. As of 2.5.5 IlmBase was absorbed into the main OpenEXR library, and then with 3.x imath was split out as a standalone library.
>
> I've built openexr2 since many packages don't support openexr 3.x. I also set openexr2-devel to conflict with openexr-devel since they should not be installed at the same time. The project either supports OpenEXR 3 or it doesn't.
>
> The question is I'm currently renaming the pkgconfig and cmake modules to have a "2" at the end. This makes specifying which one in a spec file easy, but this could mean having to patch the build systems of the projects that use it.
>
> Does it work, and/or is it acceptable to put a less than version requirement? I.e,
>
> BuildRequires: pkgconfig(IlmBase) < 3
>
> In the spec file instead? This would be much easier.

This is totally fine. I've done this in the past with OpenSSL stuff.
It's a totally reasonable way to handle it.


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux