$ rpmbuild --showrc

The definition for %cmake is quite long, but includes this line:
    %{!?__cmake_in_source_build:-B "%{__cmake_builddir}"} \

%__cmake_builddir is defined as:
    %{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.}

And then %_vpath_builddir is defined as:
    %{_vendor}-%{_target_os}-build

So that's where "redhat-linux-build" comes from.

A.FI.
_______________________________________________
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
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to