Define %python, but make it work only if %__python is redefined

This commit is contained in:
Miro Hrončok 2019-12-28 19:10:09 +01:00
commit f0be0a2983
2 changed files with 13 additions and 1 deletions

View file

@ -1,6 +1,6 @@
Name: python-rpm-macros
Version: 3
Release: 50%{?dist}
Release: 51%{?dist}
Summary: The unversioned Python RPM macros
# macros: MIT, compileall2.py: PSFv2
@ -78,6 +78,9 @@ install -m 644 %{SOURCE5} \
%changelog
* Sat Dec 28 2019 Miro Hrončok <mhroncok@redhat.com> - 3-51
- Define %%python, but make it work only if %%__python is redefined
* Tue Nov 26 2019 Lumír Balhar <lbalhar@redhat.com> - 3-50
- Update of bundled compileall2 module