Add missing BuildRequires on gcc, gcc-c++
No CMAKE_CXX_COMPILER could be found. No CMAKE_C_COMPILER could be found. References: https://bugzilla.redhat.com/show_bug.cgi?id=1603988 Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
66efef1448
commit
7b07d5eba2
4
fmt.spec
4
fmt.spec
@ -11,9 +11,9 @@ Patch0: fmt_build_doc_system.patch
|
|||||||
# See https://github.com/fmtlib/fmt/issues/551
|
# See https://github.com/fmtlib/fmt/issues/551
|
||||||
Patch1: fmt_test8_segfault.patch
|
Patch1: fmt_test8_segfault.patch
|
||||||
|
|
||||||
%if 0%{?rhel}
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
BuildRequires: cmake3
|
BuildRequires: cmake3
|
||||||
%else
|
%else
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -74,7 +74,7 @@ cmakeopts="-DFMT_LIB_DIR=%{_lib} -DFMT_CMAKE_DIR=%{_datarootdir}/cmake/%{name}"
|
|||||||
%if 0%{?rhel}%{?fedora} == 6
|
%if 0%{?rhel}%{?fedora} == 6
|
||||||
cmakeopts="$cmakeopts -DCMAKE_SKIP_RPATH=OFF"
|
cmakeopts="$cmakeopts -DCMAKE_SKIP_RPATH=OFF"
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
%cmake3 \
|
%cmake3 \
|
||||||
%else
|
%else
|
||||||
%cmake \
|
%cmake \
|
||||||
|
Loading…
Reference in New Issue
Block a user