Avoid needless pkg_resources import in pythonbundles.py
This commit is contained in:
parent
41f0035155
commit
46cb6846a9
1
.python-rpm-generators.metadata
Normal file
1
.python-rpm-generators.metadata
Normal file
@ -0,0 +1 @@
|
||||
f9c244a5385fbf619fdd0718ed66ac4c9df914cf test-sources-2021-03-11.tar.gz
|
@ -1,7 +1,7 @@
|
||||
Name: python-rpm-generators
|
||||
Summary: Dependency generators for Python RPMs
|
||||
Version: 12
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
|
||||
# Originally all those files were part of RPM, so license is kept here
|
||||
License: GPLv2+
|
||||
@ -47,6 +47,10 @@ install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} *.py
|
||||
%{_rpmconfigdir}/pythonbundles.py
|
||||
|
||||
%changelog
|
||||
* Fri Sep 22 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 12-9
|
||||
- Avoid needless pkg_resources import in pythonbundles.py
|
||||
- Resolves: RHEL-6110
|
||||
|
||||
* Wed Jan 26 2022 Tomas Orsava <torsava@redhat.com> - 12-8
|
||||
- From `python3-foo` packages automatically generate `python3.X-foo` Obsoletes
|
||||
tags on CentOS/RHEL
|
||||
|
@ -15,12 +15,7 @@
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
# inject parse_version import to pythondistdeps
|
||||
# not the nicest API, but :/
|
||||
from pkg_resources import parse_version
|
||||
import pythondistdeps
|
||||
pythondistdeps.parse_version = parse_version
|
||||
|
||||
|
||||
def generate_bundled_provides(path, namespace):
|
||||
provides = set()
|
||||
|
Loading…
Reference in New Issue
Block a user