import python-rpm-macros-3-38.el8

This commit is contained in:
CentOS Sources 2020-04-28 05:35:29 -04:00 committed by Andrew Lukoshko
parent 710c0898cb
commit 3e1e18ecf4
2 changed files with 6 additions and 2 deletions

View File

@ -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
}

View File

@ -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 <cstratak@redhat.com> - 3-38
- Fix the %%py_build macro to respect the global definition of %%__python
- Resolves: rhbz#1757833
* Fri Dec 14 2018 Miro Hrončok <mhroncok@redhat.com> - 3-37
- Workaround leaking buildroot PATH in %py_byte_compile
- Resolves: rhbz#1644455