On Mon, Jul 20, 2020 at 2:31 PM Kamil Dudka kdudka@redhat.com wrote:
On Monday, July 20, 2020 7:37:25 PM CEST Neal Gompa wrote:
This is because ceph is not adapted yet for https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
Yes, this change broke a lot of builds as it had been discussed on this list.
Your spec file is a complete mess, so I have not yet touched it to fix it.
The spec file looks fine to me. Have you ever seen texlive.spec?
Yes, I have. It's *evil*. It also doesn't use CMake. It's irrelevant in the context of this change.
Here's an example of how I fixed one package: https://src.fedoraproject.org/rpms/allegro5/c/2a59aa1daea345823b81c9b396f576 6cba54da78
I had exactly the same problem in my own projects. Appending -B. at the end of the line(s) starting with %cmake has fixed it:
Or you could just use "%global __cmake_in_source_build 1" which reverts to the previous behavior.
Or you could *actually* make it do it out of source even with older Fedora releases as I did with my example commit.