diff --git a/json.spec b/json.spec index 283a8b6..02cf9e4 100644 --- a/json.spec +++ b/json.spec @@ -17,12 +17,11 @@ URL: https://github.com/nlohmann/%{name} Source0: %{url}/archive/v%{version}.tar.gz BuildRequires: ninja-build +BuildRequires: gcc-c++ %if 0%{?rhel} == 7 BuildRequires: cmake3 -BuildRequires: devtoolset-7-gcc-c++ %else BuildRequires: cmake -BuildRequires: gcc-c++ %endif %description @@ -51,7 +50,6 @@ rm -f test/src/unit-udt.cpp %build pushd %{_target_platform} %if 0%{?rhel} == 7 - . /opt/rh/devtoolset-7/enable %cmake3 -G Ninja \ %else %cmake -G Ninja \