From 9235e3806d363e0da977db46afdac8e0e92d58fadb3a28787e71e91d72b80c26 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 9 Jan 2020 18:17:24 +0000 Subject: [PATCH] Accepting request 762507 from home:TheBlackCat:branches:devel:languages:python - Drop python2 subpackage due to dropping backports dependencies. OBS-URL: https://build.opensuse.org/request/show/762507 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-core?expand=0&rev=13 --- python-openapi-core.changes | 5 +++++ python-openapi-core.spec | 9 +-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/python-openapi-core.changes b/python-openapi-core.changes index 91fb321..3d942ad 100644 --- a/python-openapi-core.changes +++ b/python-openapi-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 9 18:01:55 UTC 2020 - Todd R + +- Drop python2 subpackage due to dropping backports dependencies. + ------------------------------------------------------------------- Thu Sep 26 14:02:50 UTC 2019 - Tomáš Chvátal diff --git a/python-openapi-core.spec b/python-openapi-core.spec index 595c044..dad0df6 100644 --- a/python-openapi-core.spec +++ b/python-openapi-core.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-openapi-core Version: 0.12.0 Release: 0 @@ -36,9 +37,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module strict-rfc3339} BuildRequires: fdupes -BuildRequires: python-backports.functools_lru_cache -BuildRequires: python-backports.functools_partialmethod -BuildRequires: python-enum34 BuildRequires: python-rpm-macros Requires: python-attrs Requires: python-isodate @@ -47,11 +45,6 @@ Requires: python-openapi-spec-validator Requires: python-six Requires: python-strict-rfc3339 BuildArch: noarch -%ifpython2 -Requires: python-backports.functools_lru_cache -Requires: python-backports.functools_partialmethod -Requires: python-enum34 -%endif %python_subpackages %description