add macros to enable dependency generator

References: https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-19 15:37:47 +01:00
commit ec476c84cc
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C
2 changed files with 8 additions and 1 deletions

View file

@ -71,3 +71,7 @@
print(" not recognized.")
end
}
%python_enable_dependency_generator() \
%global __python_requires %{_rpmconfigdir}/pythondistdeps.py --requires \
%{nil}