Accepting request 809262 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/809262 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-girder-client?expand=0&rev=10
This commit is contained in:
parent
3b9c78ed6e
commit
0395b1a258
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 06:34:23 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 15:23:06 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -33,6 +33,8 @@ Requires: python-diskcache
|
||||
Requires: python-requests >= 2.4.2
|
||||
Requires: python-requests-toolbelt
|
||||
Requires: python-six
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module click >= 6.7}
|
||||
@ -58,12 +60,22 @@ sed -i -e '/^#!\//, 1d' girder_client/*.py
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/girder-client
|
||||
%python_clone -a %{buildroot}%{_bindir}/girder-cli
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative girder-client
|
||||
%python_install_alternative girder-cli
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative girder-client
|
||||
%python_uninstall_alternative girder-cli
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%python3_only %{_bindir}/girder-cli
|
||||
%python3_only %{_bindir}/girder-client
|
||||
%python_alternative %{_bindir}/girder-cli
|
||||
%python_alternative %{_bindir}/girder-client
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user