The generated CMake configurations for Snappy (SnappyConfig.cmake and SnappyTargets.cmake) are installed in the wrong location. They are explicitly moved to `%{_datadir}/cmake/Modules/` while the actual Snappy installation installs them since 1.1.7 into the correct location (%{_libdir}/cmake/Snappy). The `Modules` folder is only meant for the `FindSnappy.cmake` module (which is not needed as SnappyConfig.cmake provides a more modern replacement). This can be fixed by removing the following two lines from the package spec: mkdir -p %{buildroot}%{_datadir}/cmake/Modules/ mv %{buildroot}%{_libdir}/cmake/Snappy/*cmake %{buildroot}%{_datadir}/cmake/Modules/
Thanks for the issue report. Would you like to update your pull request [1] according to the comment so that it can be merged? Otherwise, I'll close it and commit a separate patch. [1] https://src.fedoraproject.org/rpms/snappy/pull-request/1
I would prefer when you could take over the issue. As I'm neither a Fedora developer nor user, I'm quite unexperienced in building RPMs. I just came across this problem while debugging a problem of a user of my project (Apache Arrow).
OK, no problem. I've committed the changes and started the rebuilds.
snappy-1.1.7-8.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-02e2f776df
snappy-1.1.7-8.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-02e2f776df
snappy-1.1.7-8.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.