diff --git a/moban-0.7.0.tar.gz b/moban-0.7.0.tar.gz deleted file mode 100644 index bbcd7de..0000000 --- a/moban-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7965eee01c5c84db85106646744fb81d0b3fe85d2757d1a024e83699d1313c4 -size 873578 diff --git a/moban-0.7.5.tar.gz b/moban-0.7.5.tar.gz new file mode 100644 index 0000000..6d70a19 --- /dev/null +++ b/moban-0.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e52a0abea0d236de09828ed78a019561f17186237b79060a12e5b3553886964b +size 884415 diff --git a/python-moban.changes b/python-moban.changes index bc004e3..baebab1 100644 --- a/python-moban.changes +++ b/python-moban.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon May 25 06:50:48 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- +Fri May 22 07:42:56 UTC 2020 - Marketa Calabkova + +- Update to 0.7.5 + * #365: regression was introduced by v0.6.5. If you uses mobanfile + as data configuration file, you are very likely to have this show + stopper. + * suppress stdout message from deprecated pip install. but please + do not use and migrate deprecated`requires` syntax. + ------------------------------------------------------------------- Mon Jan 20 15:16:02 UTC 2020 - Marketa Calabkova diff --git a/python-moban.spec b/python-moban.spec index 36e29a7..357401d 100644 --- a/python-moban.spec +++ b/python-moban.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-moban -Version: 0.7.0 +Version: 0.7.5 Release: 0 Summary: Yet another jinja2 CLI for static text generation License: MIT @@ -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 @@ -81,12 +84,19 @@ rm -r tests/integration_tests # test_level_11 probably depends on moban-handlebars, which is needed only in tests # test_handle_targets_sequence fails on wrong arg count # test_overrides_fs_url needs gitfs2, which is optional -%python_expand nosetests-%{$python_bin_suffix} -e 'test_level_(9|10|11)|test_handle_targets_sequence|test_overrides_fs_url' +# 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