On Mon, Aug 3, 2020 at 4:21 PM Alexander Ploumistos
<alex.ploumistos(a)gmail.com> wrote:
Hi Neal,
On Mon, Aug 3, 2020 at 8:37 PM Neal Gompa <ngompa13(a)gmail.com> wrote:
>
> CMake macros are documented in the packaging guidelines:
>
https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/
So if a spec file is supposed to work on F31 to F33, "%undefine
__cmake_in_source_build" is all that's required?
The %undefine will make Fedora 31 and Fedora 32 CMake behave the same
way as Fedora 33 CMake.
After that, you can switch %make_build and %make_install macros to
%cmake_build and %cmake_install.
Alternatively, if you %define __cmake_in_source_build 1, this will
make Fedora 33 CMake behave the same way as Fedora 31 and Fedora 32
CMake, and then the old command flow works as before.
I recommend using the %undefine behavior and switching to the new
macros, but you can make your own judgement.
--
真実はいつも一つ!/ Always, there's only one truth!