forked from pool/python-celery
Accepting request 809577 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/809577 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=130
This commit is contained in:
committed by
Git OBS Bridge
parent
acd9a49a15
commit
6ec31ceb14
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 09:36:39 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 14 09:55:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -42,6 +42,8 @@ Requires: python-billiard >= 3.6.1
|
||||
Requires: python-kombu >= 4.6.7
|
||||
Requires: python-pytz >= 2016.7
|
||||
Requires: python-vine >= 1.3.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-curses
|
||||
Recommends: python-pyOpenSSL
|
||||
Suggests: python-eventlet
|
||||
@@ -91,6 +93,7 @@ sed -i -e 's:==:>=:g' requirements/*.txt
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/celery
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -101,11 +104,17 @@ sed -i -e 's:==:>=:g' requirements/*.txt
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%post
|
||||
%python_install_alternative celery
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative celery
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
%license LICENSE
|
||||
%doc README.rst TODO
|
||||
%python3_only %{_bindir}/celery*
|
||||
%python_alternative %{_bindir}/celery
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user