- Switch from python3_only to python_alternative for genfire script
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-genfire?expand=0&rev=4
This commit is contained in:
parent
9ed1ea0aae
commit
f456d609aa
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 20 05:33:37 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch from python3_only to python_alternative for genfire script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 23 02:18:34 UTC 2020 - andy great <andythe_great@pm.me>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-genfire
|
||||
#
|
||||
# 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
|
||||
@ -44,6 +44,8 @@ Requires: python-scipy >= 0.19.0
|
||||
Requires: python-setuptools
|
||||
Requires: python-six >= 1.10.0
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -60,13 +62,20 @@ oriented projection images
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/genfire
|
||||
|
||||
%check
|
||||
# No test given
|
||||
|
||||
%post
|
||||
%python_install_alternative genfire
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative genfire
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%python3_only %{_bindir}/genfire
|
||||
%python_alternative %{_bindir}/genfire
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user