raylib and raylib-devel are listed as version 5.0-3.fc40 However, after installing, putting the following in a CMakeLists.txt file fails: find_package(raylib 5.0 REQUIRED) Instead, a workaround like this works: find_package(raylib 4.5 REQUIRED) The reason for this is because the file: /usr/lib64/cmake/raylib/raylib-config-version.cmake contains the text: set(PACKAGE_VERSION "4.5.0") If we crack open /usr/include/raylib.h that was installed, we see this: #define RAYLIB_VERSION "5.0" After applying the find_package 4.5 workaround as stated above, the built executable will think it is running raylib 5.0. I also noticed in https://src.fedoraproject.org/rpms/raylib/blob/rawhide/f/raylib.spec the following lines: %{_libdir}/libraylib.so.4.5.0 %{_libdir}/libraylib.so.450 which should also probably be updated to 5.0. Reproducible: Always Steps to Reproduce: 1. sudo dnf install raylib-devel g++ cmake 2. cmake inside a project using "find_package(raylib 5.0 REQUIRED)" Actual Results: CMake Error at CMakeLists.txt:8 (find_package): Could not find a configuration file for package "raylib" that is compatible with requested version "5.0". The following configuration files were considered but not accepted: /usr/lib64/cmake/raylib/raylib-config.cmake, version: 4.5.0 /lib64/cmake/raylib/raylib-config.cmake, version: 4.5.0 Expected Results: CMake successfully builds project.
Created attachment 2050637 [details] CMakeLists.txt Put this file in a project directory with main.cpp, then to reproduce the bug: cd $PROJECT_DIR mkdir build cd build cmake ..
Created attachment 2050638 [details] main.cpp minimal raylib sample code
FEDORA-2025-06f0e387e0 (raylib-5.5-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-06f0e387e0
FEDORA-2025-06f0e387e0 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-06f0e387e0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-06f0e387e0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
This message is a reminder that Fedora Linux 40 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '40'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 40 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
FEDORA-2025-06f0e387e0 (raylib-5.5-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.