From d4418433fa1c204527a3a49db11f89ac9f6ab657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 2 Oct 2019 16:20:57 +0200 Subject: [PATCH] Drop hardcoded python2 from %py_build --- macros.python | 2 +- python-rpm-macros.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macros.python b/macros.python index 94e769c..2153629 100644 --- a/macros.python +++ b/macros.python @@ -2,7 +2,7 @@ %py_shbang_opts -s %py_build() %{expand:\ -CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} build --executable="%{__python2} %{py_shbang_opts}" %{?1}\ +CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} build --executable="%{__python} %{py_shbang_opts}" %{?1}\ } %py_install() %{expand:\ diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 0f73e16..0d33824 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -67,6 +67,7 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE5} \ %changelog * Fri Sep 27 2019 Miro HronĨok - 3-15 - Define %%python2 and %%python3 +- Drop hardcoded python2 from %%py_build * Wed Mar 06 2019 Carl George - 3-14 - Move macros.pybytecompile in here from python3X-devel