On Wed, Jul 7, 2021 at 1:39 PM Neal Gompa <ngomp...@gmail.com> wrote:
> On Wed, Jul 7, 2021 at 2:29 PM Richard Shaw <hobbes1...@gmail.com> 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. > Awesome. I did some testing in mock to confirm it worked as expected but didn't know if there were any guidelines about it. Thanks, Richard
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure