Enable requires generator

References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault
References: https://pagure.io/fesco/issue/2026
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-12-20 14:21:14 +01:00
parent 9f6f709036
commit e745e149a6
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Name: python-rpm-generators
Summary: Dependency generators for Python RPMs
Version: 6
Version: 7
Release: 1%{?dist}
# Originally all those files were part of RPM, so license is kept here
@ -49,6 +49,9 @@ install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} pythondeps.sh pythondistdeps.py
%{_rpmconfigdir}/pythondistdeps.py
%changelog
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7-1
- Enable requires generator
* Wed Oct 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6-1
- Tighten regex for depgen

View File

@ -1,3 +1,3 @@
%__pythondist_provides %{_rpmconfigdir}/pythondistdeps.py --provides --majorver-provides
#%__pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires
%__pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires
%__pythondist_path ^/usr/lib(64)?/python[[:digit:]]\\.[[:digit:]]+/site-packages/[^/]+\\.(dist-info|egg-info|egg-link)$