forked from pool/python-moban
Accepting request 808644 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/808644 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-moban?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
03e7e11f4b
commit
92e5f334a7
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 06:50:48 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 22 07:42:56 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ Requires: python-fs >= 2.4.11
|
||||
Requires: python-jinja2-fsloader >= 0.2.0
|
||||
Requires: python-lml >= 0.0.9
|
||||
Requires: python-ruamel.yaml >= 0.15.98
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Suggests: python-gitfs2
|
||||
Suggests: python-pypifs
|
||||
BuildArch: noarch
|
||||
@@ -71,6 +73,7 @@ rm -r tests/integration_tests
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/moban
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -84,10 +87,16 @@ rm -r tests/integration_tests
|
||||
# test_level_24 needs httpfs, which is optional
|
||||
%python_expand nosetests-%{$python_bin_suffix} -e 'test_level_(9|10|11|24)|test_handle_targets_sequence|test_overrides_fs_url'
|
||||
|
||||
%post
|
||||
%python_install_alternative moban
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative moban
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%python3_only %{_bindir}/moban
|
||||
%python_alternative %{_bindir}/moban
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user