diff --git a/py3c.spec b/py3c.spec index 6c541af..ea5fc3d 100644 --- a/py3c.spec +++ b/py3c.spec @@ -53,13 +53,12 @@ py3c macros. %setup -q %build -make %{?_smp_mflags} py3c.pc includedir=%{_includedir} +%make_build py3c.pc includedir=%{_includedir} -make %{?_smp_mflags} doc SPHINXBUILD=sphinx-build-3 +%make_build doc SPHINXBUILD=sphinx-build-3 %check -export CFLAGS="%{optflags}" -make %{?_smp_mflags} test-python3 +%make_build test-python3 %install make install prefix=%{buildroot}%{_prefix} includedir=%{buildroot}%{_includedir}