From b1a752bec2d9881e134fbf8b1d116f14a156480a294dc8ae9dcfc6c216e7900e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 24 May 2020 08:11:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-genfire?expand=0&rev=2 --- python-genfire.spec | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/python-genfire.spec b/python-genfire.spec index 822fff6..88db23f 100644 --- a/python-genfire.spec +++ b/python-genfire.spec @@ -1,5 +1,5 @@ # -# spec file for package python3-genfire +# spec file for package python-genfire # # Copyright (c) 2020 SUSE LLC # @@ -23,27 +23,26 @@ Version: 1.1.11 Release: 0 Summary: GENeralized Fourier Iterative REconstruction License: GPL-3.0-only -Group: Development/Languages/Python URL: https://github.com/genfire-em/GENFIRE-Python Source: https://files.pythonhosted.org/packages/1e/e3/bb80c9e9f9b0255f70b230baf05609122a317945fa623eee8aba8f9ec8ec/%{packagename}-%{version}.tar.gz -BuildRequires: fdupes BuildRequires: %{python_module Pillow >= 4.1.1} BuildRequires: %{python_module PyQt5 >= 5.5.0} BuildRequires: %{python_module matplotlib >= 2.0.2} BuildRequires: %{python_module numpy >= 1.12.1} +BuildRequires: %{python_module pyFFTW} BuildRequires: %{python_module pyparsing >= 2.2.0} BuildRequires: %{python_module scipy >= 0.19.0} -BuildRequires: %{python_module six >= 1.10.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pyFFTW} +BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: fdupes Requires: python-Pillow >= 4.1.1 -Requires: python-PyQt5 >= 5.5.0 -Requires: python-numpy >= 1.12.1 -Requires: python-pyparsing >= 2.2.0 -Requires: python-scipy >= 0.19.0 -Requires: python-six >= 1.10.0 -Requires: python-setuptools +Requires: python-PyQt5 >= 5.5.0 +Requires: python-numpy >= 1.12.1 Requires: python-pyFFTW +Requires: python-pyparsing >= 2.2.0 +Requires: python-scipy >= 0.19.0 +Requires: python-setuptools +Requires: python-six >= 1.10.0 BuildArch: noarch %python_subpackages @@ -67,15 +66,7 @@ oriented projection images %files %{python_files} %doc README.md -%{_bindir}/genfire -%dir %{python_sitelib}/genfire/ -%dir %{python_sitelib}/genfire/gui/ -%dir %{python_sitelib}/genfire-1.1.11-py%{python_version}.egg-info/ -%{python_sitelib}/genfire/*.py* -%{python_sitelib}/genfire/gui/*.py* -%{python_sitelib}/genfire-1.1.11-py%{python_version}.egg-info/* -%pycache_only %{python_sitelib}/genfire/__pycache__ -%pycache_only %{python_sitelib}/genfire/gui/__pycache__ - +%python3_only %{_bindir}/genfire +%{python_sitelib}/* %changelog