On Mon, Jul 20, 2020 at 2:31 PM Kamil Dudka <kdu...@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:
>
> https://github.com/kdudka/predator/commit/34ef2198
>

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.


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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

Reply via email to