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