From c93b92fe196f200fc62b1391c93c3133304c4a87 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 21 Jan 2020 13:58:26 -0500 Subject: [PATCH] import python-rpm-macros-3-38.el8 --- SOURCES/macros.python | 2 +- SPECS/python-rpm-macros.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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