From ad4d64a3c9ca0e9c5e4be71de7f8614c2feea635 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 29 2018 21:25:27 +0000 Subject: Switch to %py2_build Signed-off-by: Igor Gnatenko --- diff --git a/python-debian.spec b/python-debian.spec index 921d35f..a3f097d 100644 --- a/python-debian.spec +++ b/python-debian.spec @@ -85,7 +85,7 @@ cp -a . %{py3dir} %build sed -e 's/__CHANGELOG_VERSION__/$(VERSION)/' < setup.py.in > setup.py -%{__python} setup.py build +%py2_build %if 0%{with_python3} pushd %{py3dir}