From dae3e64eb05beaa5ac148ad6bd76e8546ec69a4dc966fae911b5c19a0bcc518a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 26 Feb 2021 21:39:16 +0000 Subject: [PATCH] Accepting request 875534 from home:bnavigator:branches:devel:languages:python - Only test optional numpy when availalbe: python36-numpy is not OBS-URL: https://build.opensuse.org/request/show/875534 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypng?expand=0&rev=13 --- python-pypng.changes | 5 +++++ python-pypng.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pypng.changes b/python-pypng.changes index 2037d04..04b670f 100644 --- a/python-pypng.changes +++ b/python-pypng.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 26 21:28:52 UTC 2021 - Ben Greiner + +- Only test optional numpy when availalbe: python36-numpy is not + ------------------------------------------------------------------- Fri Sep 11 11:22:36 UTC 2020 - John Vandenberg diff --git a/python-pypng.spec b/python-pypng.spec index 870a41e..0e3aa29 100644 --- a/python-pypng.spec +++ b/python-pypng.spec @@ -1,7 +1,7 @@ # # spec file for package python-pypng # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,10 +28,10 @@ URL: https://github.com/drj11/pypng Source: https://files.pythonhosted.org/packages/source/p/pypng/pypng-%{version}.tar.gz Patch0: pr_106.patch BuildRequires: %{python_module Cython} -BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: %{python_module numpy if (%python-base without python36-base)} Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch