- Fix python2 conditions to pull deps correctly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mrcz?expand=0&rev=2
This commit is contained in:
parent
8ecc0e08e3
commit
04dd4b2b48
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 08:26:00 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix python2 conditions to pull deps correctly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 11 16:19:40 UTC 2020 - andy great <andythe_great@pm.me>
|
||||
|
||||
|
@ -17,31 +17,31 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-mrcz
|
||||
Version: 0.5.6
|
||||
Release: 0
|
||||
Summary: MRCZ meta-compressed image file-format library
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/em-MRCZ/python-mrcz
|
||||
Source: https://github.com/em-MRCZ/python-mrcz/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module blosc}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if 0%{?suse_version} <= 1510
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python3-blosc
|
||||
Requires: python3-numpy
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python-enum34
|
||||
BuildRequires: python-futures
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python3-numpy
|
||||
Requires: python3-blosc
|
||||
%if 0%{?suse_version} <= 1510
|
||||
%ifpython2
|
||||
Requires: python-enum34
|
||||
Requires: python-futures
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Loading…
x
Reference in New Issue
Block a user