From 83c7ab10c3a912342ac83b8235fd3d2c182cbb2712c8877082451ee2e536f896 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 3 Apr 2023 04:36:33 +0000 Subject: [PATCH] - Add missing BuildRequires on numpy. - Remove unneeded BuildRequires on pep517. - Stop using python_sitelib/*. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=10 --- python-threadpoolctl.changes | 7 +++++++ python-threadpoolctl.spec | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-threadpoolctl.changes b/python-threadpoolctl.changes index a0a54a2..8d6358f 100644 --- a/python-threadpoolctl.changes +++ b/python-threadpoolctl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 3 04:34:43 UTC 2023 - Steve Kowalik + +- Add missing BuildRequires on numpy. +- Remove unneeded BuildRequires on pep517. +- Stop using python_sitelib/*. + ------------------------------------------------------------------- Sun Jul 24 08:40:55 UTC 2022 - Dirk Müller diff --git a/python-threadpoolctl.spec b/python-threadpoolctl.spec index 3b98f61..f8fa2c8 100644 --- a/python-threadpoolctl.spec +++ b/python-threadpoolctl.spec @@ -1,7 +1,7 @@ # # spec file for package python-threadpoolctl # -# 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,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-threadpoolctl Version: 3.1.0 Release: 0 @@ -28,7 +26,7 @@ URL: https://github.com/joblib/threadpoolctl Source: https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module flit-core} -BuildRequires: %{python_module pep517} +BuildRequires: %{python_module numpy} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -58,6 +56,8 @@ and OpenMP implementations). %files %{python_files} %doc CHANGES.md README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/threadpoolctl.py +%pycache_only %{python_sitelib}/__pycache__/threadpoolctl.*.py* +%{python_sitelib}/threadpoolctl-%{version}*info %changelog