diff --git a/SOURCES/macros.python b/SOURCES/macros.python index 5438519..5a94fcb 100644 --- a/SOURCES/macros.python +++ b/SOURCES/macros.python @@ -5,7 +5,7 @@ # the macro %py_build() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ - %{__python} %{py_setup} %{?py_setup_args} build --executable="%{__python2} %{py_shbang_opts}" %{?*} + %{__python} %{py_setup} %{?py_setup_args} build --executable="%{__python} %{py_shbang_opts}" %{?*} sleep 1 } diff --git a/SPECS/python-rpm-macros.spec b/SPECS/python-rpm-macros.spec index a18a296..f4641aa 100644 --- a/SPECS/python-rpm-macros.spec +++ b/SPECS/python-rpm-macros.spec @@ -1,6 +1,6 @@ Name: python-rpm-macros Version: 3 -Release: 37%{?dist} +Release: 38%{?dist} Summary: The unversioned Python RPM macros License: MIT @@ -71,6 +71,10 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \ %changelog +* Mon Oct 14 2019 Charalampos Stratakis - 3-38 +- Fix the %%py_build macro to respect the global definition of %%__python +- Resolves: rhbz#1757833 + * Fri Dec 14 2018 Miro HronĨok - 3-37 - Workaround leaking buildroot PATH in %py_byte_compile - Resolves: rhbz#1644455