From 5df370411d5592bf67ad92234ec79928ed6f1c1a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 22 Jul 2021 16:20:49 +0000 Subject: [PATCH] import python-rpm-generators-5-7.el8 --- SOURCES/python.attr | 2 +- SPECS/python-rpm-generators.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SOURCES/python.attr b/SOURCES/python.attr index 7e8a14b..d1fb80d 100644 --- a/SOURCES/python.attr +++ b/SOURCES/python.attr @@ -1,4 +1,4 @@ %__python_provides %{_rpmconfigdir}/pythondistdeps.py --provides --majorver-provides-versions @MAJORVER-PROVIDES-VERSIONS@ %__python_requires %{_rpmconfigdir}/pythondeps.sh --requires -%__python_path ^((/usr/lib(64)?/python[[:digit:]]\\.[[:digit:]]/.*)|(%{_bindir}/python[[:digit:]]\\.[[:digit:]]))$ +%__python_path ^((/usr/lib(64)?/python[[:digit:]]+\\.[[:digit:]]+/site-packages/[^/]+\\.(dist-info|egg-info|egg-link))|(/usr/lib(64)?/python[[:digit:]]+\\.[[:digit:]]+/.*\\.(py[oc]?|so))|(%{_bindir}/python[[:digit:]]+\\.[[:digit:]]+))$ %__python_magic [Pp]ython.*(executable|byte-compiled) diff --git a/SPECS/python-rpm-generators.spec b/SPECS/python-rpm-generators.spec index 587a3a6..e5c52d6 100644 --- a/SPECS/python-rpm-generators.spec +++ b/SPECS/python-rpm-generators.spec @@ -5,7 +5,7 @@ Name: python-rpm-generators Summary: Dependency generators for Python RPMs Version: 5 -Release: 6%{?dist} +Release: 7%{?dist} # Originally all those files were part of RPM, so license is kept here License: GPLv2+ @@ -53,6 +53,10 @@ install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} pythondeps.sh pythondistdeps.py %{_rpmconfigdir}/pythondistdeps.py %changelog +* Tue Jun 15 2021 Tomas Orsava - 5-7 +- Do not parse nested dist/egg-info metadata +- Resolves: rhbz#1916172 + * Thu Dec 12 2019 Tomas Orsava - 5-6 - Enabled gating - Related: rhbz#1776941