diff --git a/python-packaging.spec b/python-packaging.spec index f7ff856..ddcd4c7 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -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