diff --git a/m2crypto.spec b/m2crypto.spec index 81e6265..c1911d9 100644 --- a/m2crypto.spec +++ b/m2crypto.spec @@ -57,7 +57,7 @@ pushd M2Crypto-%{version} %{__python2} setup.py build popd pushd M2Crypto-python3 -%{__python3} setup.py build +%py3_build popd %install @@ -71,7 +71,7 @@ pushd M2Crypto-%{version} %{__python2} setup.py install --root=$RPM_BUILD_ROOT popd pushd M2Crypto-python3 -%{__python3} setup.py install --root=$RPM_BUILD_ROOT +%py3_install popd %check