From e745e149a6c877ae9b7fc26027d35fa6aeaaf902 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 20 Dec 2018 14:21:14 +0100 Subject: [PATCH] Enable requires generator References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault References: https://pagure.io/fesco/issue/2026 Signed-off-by: Igor Gnatenko --- python-rpm-generators.spec | 5 ++++- pythondist.attr | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-rpm-generators.spec b/python-rpm-generators.spec index 984ed7d..cd1ab69 100644 --- a/python-rpm-generators.spec +++ b/python-rpm-generators.spec @@ -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 - 7-1 +- Enable requires generator + * Wed Oct 03 2018 Igor Gnatenko - 6-1 - Tighten regex for depgen diff --git a/pythondist.attr b/pythondist.attr index 28535b5..2bf737a 100644 --- a/pythondist.attr +++ b/pythondist.attr @@ -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)$