add macros to enable dependency generator
References: https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
(cherry picked from commit ec476c84cc
)
This commit is contained in:
parent
f37b53c397
commit
d25246c859
|
@ -71,3 +71,7 @@
|
|||
print(" not recognized.")
|
||||
end
|
||||
}
|
||||
|
||||
%python_enable_dependency_generator() \
|
||||
%global __python_requires %{_rpmconfigdir}/pythondistdeps.py --requires \
|
||||
%{nil}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Name: python-rpm-macros
|
||||
Version: 3
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
Summary: The unversioned Python RPM macros
|
||||
|
||||
License: MIT
|
||||
|
@ -69,6 +69,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3-25
|
||||
- Add %%python_enable_dependency_generator
|
||||
|
||||
* Fri Mar 03 2017 Michal Cyprian <mcyprian@redhat.com> - 3-20
|
||||
- Revert "Switch %%__python3 to /usr/libexec/system-python"
|
||||
after the Fedora Change https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
|
||||
|
|
Loading…
Reference in New Issue