- 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>
|
Sat May 23 02:18:34 UTC 2020 - andy great <andythe_great@pm.me>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-genfire
|
# 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
|
# 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
|
||||||
@ -44,6 +44,8 @@ Requires: python-scipy >= 0.19.0
|
|||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires: python-six >= 1.10.0
|
Requires: python-six >= 1.10.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -60,13 +62,20 @@ oriented projection images
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/genfire
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# No test given
|
# No test given
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative genfire
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative genfire
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%python3_only %{_bindir}/genfire
|
%python_alternative %{_bindir}/genfire
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user