forked from pool/python-pypng
Accepting request 875536 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/875536 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pypng?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 26 21:28:52 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Only test optional numpy when availalbe: python36-numpy is not
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 11 11:22:36 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
Fri Sep 11 11:22:36 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pypng
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source: https://files.pythonhosted.org/packages/source/p/pypng/pypng-%{version}.tar.gz
|
||||||
Patch0: pr_106.patch
|
Patch0: pr_106.patch
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module numpy}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Reference in New Issue
Block a user