15
0

- Convert to libalternatives

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-genfire?expand=0&rev=14
This commit is contained in:
2025-06-09 12:38:18 +00:00
committed by Git OBS Bridge
parent ee27ccab7b
commit c624f7fee4
2 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 9 12:37:51 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue May 27 14:01:01 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -17,6 +17,7 @@
%define packagename genfire
%bcond_without libalternatives
Name: python-genfire
Version: 1.1.11
Release: 0
@@ -34,8 +35,10 @@ BuildRequires: %{python_module pyparsing >= 2.2.0}
BuildRequires: %{python_module scipy >= 0.19.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-Pillow >= 4.1.1
Requires: python-PyQt5 >= 5.5.0
Requires: python-numpy >= 1.12.1
@@ -43,8 +46,6 @@ Requires: python-pyFFTW
Requires: python-pyparsing >= 2.2.0
Requires: python-scipy >= 0.19.0
Requires: python-setuptools
Requires(post): alts
Requires(postun): alts
BuildArch: noarch
%python_subpackages
@@ -67,11 +68,8 @@ oriented projection images
%check
# No test given
%post
%python_install_alternative genfire
%postun
%python_uninstall_alternative genfire
%pre
%python_libalternatives_reset_alternative genfire
%files %{python_files}
%doc README.md