From 831120d6119da099a9699bb562e44c14dc169497b4c7b24f516dcdadfdcd5e97 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 11 Feb 2023 22:38:33 +0000 Subject: [PATCH] Accepting request 1064432 from home:bnavigator:branches:devel:languages:python - Don't build for Python 3.6: It requires importlib.resources OBS-URL: https://build.opensuse.org/request/show/1064432 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-installer?expand=0&rev=12 --- python-installer.changes | 5 +++++ python-installer.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-installer.changes b/python-installer.changes index 765af97..be0b527 100644 --- a/python-installer.changes +++ b/python-installer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 11 21:45:29 UTC 2023 - Ben Greiner + +- Don't build for Python 3.6: It requires importlib.resources + ------------------------------------------------------------------- Tue Dec 13 15:40:26 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-installer.spec b/python-installer.spec index 174c07f..4160abd 100644 --- a/python-installer.spec +++ b/python-installer.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define pkg_suffix -test @@ -32,6 +31,7 @@ Summary: A library for installing Python wheels License: MIT URL: https://github.com/pypa/installer Source: https://files.pythonhosted.org/packages/source/i/installer/installer-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module flit-core} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -70,7 +70,7 @@ export PYTHONPATH=src %doc README.md %license LICENSE %{python_sitelib}/installer -%{python_sitelib}/installer*dist-info +%{python_sitelib}/installer-%{version}.dist-info %endif %changelog