On Mon, Aug 3, 2020 at 4:22 PM Miro Hrončok <mhroncok(a)redhat.com> wrote:
On 03. 08. 20 22:19, Neal Gompa wrote:
> If you don't care whether it's in-source or out-of-source build, then
> you only need to concern yourself with %cmake, %cmake_build, and
> %cmake_install (for EPEL7, %cmake3 is the prefix instead of %cmake).
Neal, can I safely use this on EPEL7 and Fedora?
%undefine __cmake_in_source_build
%cmake3
%cmake3_build
%cmake3_install
?
You'll need one more for EPEL7: %undefine __cmake3_in_source_build
But otherwise, yes, provided you "BuildRequires: cmake3" for EPEL7.
--
真実はいつも一つ!/ Always, there's only one truth!