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
8d3d1dde64
commit
910a7dfd4d
2 changed files with 8 additions and 2 deletions
|
|
@ -71,3 +71,7 @@
|
|||
print(" not recognized.")
|
||||
end
|
||||
}
|
||||
|
||||
%python_enable_dependency_generator() \
|
||||
%global __python_requires %{_rpmconfigdir}/pythondistdeps.py --requires \
|
||||
%{nil}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue