- add no-legacyversion-warning.patch to restore compatibility with 20.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=48
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-packaging
|
||||
# spec file for package python-packaging-test
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
@@ -32,6 +32,8 @@ Summary: Core utilities for Python packages
|
||||
License: Apache-2.0
|
||||
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
|
||||
@@ -55,6 +57,7 @@ Core utilities for Python packages
|
||||
|
||||
%prep
|
||||
%setup -q -n packaging-%{version}
|
||||
%patch1 -p1
|
||||
# sdist must provide a packaging.egg-info, used below in install phase
|
||||
test -d packaging.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user