Re: Problem with auto CMake out-of-source builds?

2020-07-07 Thread Kevin Kofler
Vitaly Zaitsev via devel wrote: > Proven-packages are changing SPEC files already using out of tree builds > (with push..popd) and then disabling it globally. > > This is so weird. Yes, I think that this is a completely pointless backwards-incompatible change that just hides more error-prone

Re: Problem with auto CMake out-of-source builds?

2020-07-07 Thread Vitaly Zaitsev via devel
On 05.07.2020 15:19, Neal Gompa wrote: > Temporarily, we have %__cmake_in_source_build set, which forces back > the legacy behavior. Proven-packages are changing SPEC files already using out of tree builds (with push..popd) and then disabling it globally. This is so weird. -- Sincerely,

Re: Problem with auto CMake out-of-source builds?

2020-07-07 Thread Neal Gompa
On Tue, Jul 7, 2020 at 8:14 AM Richard Shaw wrote: > > On Sun, Jul 5, 2020 at 8:20 AM Neal Gompa wrote: >> >> On Sun, Jul 5, 2020 at 9:16 AM Richard Shaw wrote: >> > >> > I saw the change notification but didn't know it went in to "production". >> > I was trying to build OpenImageIO in rawhide

Re: Problem with auto CMake out-of-source builds?

2020-07-07 Thread Richard Shaw
On Sun, Jul 5, 2020 at 8:20 AM Neal Gompa wrote: > On Sun, Jul 5, 2020 at 9:16 AM Richard Shaw wrote: > > > > I saw the change notification but didn't know it went in to > "production". I was trying to build OpenImageIO in rawhide and it failed, > because I was already doing an out of source

Re: Problem with auto CMake out-of-source builds?

2020-07-05 Thread Richard Shaw
On Sun, Jul 5, 2020 at 8:20 AM Neal Gompa wrote: > Temporarily, we have %__cmake_in_source_build set, which forces back > the legacy behavior. You can switch to the upcoming out of source > default by adding the following to the top of your spec: > Ok, so during this transition period the

Re: Problem with auto CMake out-of-source builds?

2020-07-05 Thread Neal Gompa
On Sun, Jul 5, 2020 at 9:16 AM Richard Shaw wrote: > > I saw the change notification but didn't know it went in to "production". I > was trying to build OpenImageIO in rawhide and it failed, because I was > already doing an out of source build which it appended > "%{_arch}-redhat-linux-gnu" or

Problem with auto CMake out-of-source builds?

2020-07-05 Thread Richard Shaw
I saw the change notification but didn't know it went in to "production". I was trying to build OpenImageIO in rawhide and it failed, because I was already doing an out of source build which it appended "%{_arch}-redhat-linux-gnu" or something like that to. So I looked up the guidelines for CMake