forked from pool/python-zope.interface
- remove python2 specific codepaths
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=62
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 2 20:59:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- remove python2 specific codepaths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 16 08:59:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,7 +25,6 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
%global modname zope.interface
|
||||
%define oldpython python
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-zope.interface%{psuffix}
|
||||
Version: 6.1
|
||||
@@ -37,6 +36,7 @@ Source: https://files.pythonhosted.org/packages/source/z/zope.interface/
|
||||
# needed for tests that try to compile things
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
@@ -48,12 +48,6 @@ BuildRequires: %{python_module zope.testing}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-zopeinterface = %{version}
|
||||
Obsoletes: %{oldpython}-zopeinterface < %{version}
|
||||
Provides: %{oldpython}-zope-interface = %{version}
|
||||
Obsoletes: %{oldpython}-zope-interface < %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user