Dirk Mueller 2021-11-07 20:35:57 +00:00 committed by Git OBS Bridge
parent eabfbf7c81
commit c2a1d5f68a

View File

@ -27,6 +27,7 @@
%endif
# in order to avoid rewriting for subpackage generator
%define mypython python
%global skip_python2 1
Name: python-packaging%{psuffix}
Version: 21.2
Release: 0
@ -36,12 +37,10 @@ URL: https://github.com/pypa/packaging
Source: https://files.pythonhosted.org/packages/source/p/packaging/packaging-%{version}.tar.gz
# Restore compatibility with 20.4 for setuptools
Patch1: no-legacyversion-warning.patch
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
#!BuildIgnore: post-build-checks-malwarescan
Requires: python-pyparsing >= 2.0.2
Requires: python-six
BuildArch: noarch
# do not add setuptools dependency, this is now a dependency
# of setuptools. Ensure that all dependencies also don't depend