From c2a1d5f68af45805d481c8494a64704a6c170aa2e1d4a75c43fe35842b19a1ff Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 7 Nov 2021 20:35:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=52 --- python-packaging.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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