--- rpms/pugixml/contribs10/pugixml.spec 2021/11/20 21:27:43 1.1 +++ rpms/pugixml/contribs10/pugixml.spec 2021/11/20 21:39:26 1.2 @@ -10,6 +10,10 @@ URL: http://pugixml.org Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake gcc-c++ +BuildRequires: cmake3 +BuildRequires: devtoolset-9-gcc +BuildRequires: devtoolset-9-gcc-c++ + %description pugixml is a light-weight C++ XML processing library. @@ -38,16 +42,19 @@ Documentation for %{name} %prep +. /opt/rh/devtoolset-9/enable %setup -q -n %{name}-%{version}%{?prerel:%{prerel}} %build -%cmake -%cmake_build +. /opt/rh/devtoolset-9/enable +%cmake3 +%cmake3_build %install -%cmake_install +. /opt/rh/devtoolset-9/enable +%cmake3_install %ldconfig_scriptlets