The included CMake configuration in openbabel-devel is broken. Calling find_package(OpenBabel3) in CMake results in $ cmake .. CMake Error at /usr/lib64/cmake/openbabel3/OpenBabel3Config.cmake:16 (include): include could not find requested file: /cmake/openbabel3/OpenBabel3_EXPORTS.cmake Call Stack (most recent call first): CMakeLists.txt:31 (find_package) The problem is on the line set(OpenBabel3_EXPORTS_FILE "${LIB_INSTALL_DIR}/cmake/openbabel3/OpenBabel3_EXPORTS.cmake") which does not resolve to /usr/lib64/cmake/openbabel3/OpenBabel3_EXPORTS.cmake.
> set(OpenBabel3_EXPORTS_FILE "${LIB_INSTALL_DIR}/cmake/openbabel3/OpenBabel3_EXPORTS.cmake") This line is correct but the user needs to use %cmake macro
(In reply to Antonio T. sagitter from comment #1) > > set(OpenBabel3_EXPORTS_FILE "${LIB_INSTALL_DIR}/cmake/openbabel3/OpenBabel3_EXPORTS.cmake") > > This line is correct but the user needs to use %cmake macro One uses %cmake in rpm packaging, not command line... the CMake file should also work when %cmake macro is not used
Last commit should fix this issue: https://src.fedoraproject.org/rpms/openbabel/c/f58d73c656a50c6787797426a8b97c8b250063ad?branch=rawhide
FEDORA-2022-dfbc099d5d has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-dfbc099d5d
FEDORA-2022-dfbc099d5d has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-608aa85d22 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-608aa85d22
FEDORA-2022-30f18333d1 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-30f18333d1
FEDORA-2022-608aa85d22 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-608aa85d22` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-608aa85d22 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-30f18333d1 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-30f18333d1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-30f18333d1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-30f18333d1 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-608aa85d22 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.