From 00e4555871c2240f995e42635796d4158649d0f5 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Feb 12 2019 23:45:08 +0000 Subject: https://fedoraproject.org/wiki/Changes/Python_Extension_Flags --- diff --git a/python-mistune.spec b/python-mistune.spec index 9d1bfc3..9826215 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -61,7 +61,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +%py3_build popd %endif # with_python3 @@ -69,7 +69,7 @@ popd %install %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install --skip-build --root %{buildroot} +%py3_install popd %endif # with_python3