From d5d54f8c4100fc2a6cbeb849c05b780a877b5a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 19 Nov 2021 14:27:28 +0100 Subject: [PATCH] Use %make_build macros --- py3c.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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}