Fix typos, disable parallel build

epel9
Sandro Mani 5 years ago
parent 83f51f1fbe
commit 98bc9bd6aa

@ -84,7 +84,8 @@ developing applications that use %{name}.
%prep %prep
%autosetup -p1 %autosetup -p1
cp -a %{SOURCE1} . mkdir -p %{__cmake_builddir}
cp -a %{SOURCE1} %{__cmake_builddir}
%build %build
@ -97,22 +98,22 @@ cp -a %{SOURCE1} .
-DPYTHON_INCLUDE_DIR=%{_includedir}/python%{python3_version}$(python3-config --abiflags)/ \ -DPYTHON_INCLUDE_DIR=%{_includedir}/python%{python3_version}$(python3-config --abiflags)/ \
-DPYTHON_INSTALL_DIR=%{python3_sitearch} \ -DPYTHON_INSTALL_DIR=%{python3_sitearch} \
-DBUILD_TESTING=ON \ -DBUILD_TESTING=ON \
-DBUILD_EXAMPLES=ON \ -DBUILD_EXAMPLES=ON
.
# Parallel build broken # Parallel build broken
%ccmake_build %global _smp_mflags 1
%cmake_build
%install %install
%ccmake_install %cmake_install
%check %check
# Ignore test failures on ppc64le, base_zip_file test segfaults there # Ignore test failures on ppc64le, base_zip_file test segfaults there
%ifarch ppc64le %ifarch ppc64le
%cctest || : %ctest || :
%else %else
%cctest %ctest
%endif %endif

Loading…
Cancel
Save