diff --git a/blue-0.5.1.tar.gz b/blue-0.5.1.tar.gz deleted file mode 100644 index c957cd7..0000000 --- a/blue-0.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86cac45a88f9b2a426e2907c082cd90d90c663353a1003eeb7e26777bb1c73a3 -size 8693 diff --git a/blue-0.5.2.tar.gz b/blue-0.5.2.tar.gz new file mode 100644 index 0000000..382e350 --- /dev/null +++ b/blue-0.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0cf07f9f63a66b02dd99f7d6106d1f788c6889f9456a0ad9d7b55523d2ae224 +size 8775 diff --git a/python-blue.changes b/python-blue.changes index 8fc16bf..799baae 100644 --- a/python-blue.changes +++ b/python-blue.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 18 08:23:55 UTC 2021 - Matej Cepl + +- Upgrade to 0.5.2: + - fixed building of documentation (gh#grantjenks/blue#26) + ------------------------------------------------------------------- Sun Jan 17 22:49:08 UTC 2021 - Matej Cepl diff --git a/python-blue.spec b/python-blue.spec index d5b8b8b..3ad2f7d 100644 --- a/python-blue.spec +++ b/python-blue.spec @@ -20,7 +20,7 @@ %define skip_python2 1 %define modname blue Name: python-blue -Version: 0.5.1 +Version: 0.5.2 Release: 0 Summary: A code formatter written in, and written for Python License: MIT @@ -70,13 +70,19 @@ the rules of the "pycodestyle" checker. Black skips over blocks that start and end with "# fmt: off" and "# fmt: on", respectively. It also recognizes YAPF's block comments to the same effect. +%package -n python-blue-doc +Summary: Documentation files for %name +Provides: %{python_module foo-doc = %{version}} + +%description -n python-blue-doc +HTML Documentation and examples for %name. + %prep %setup -q -n blue-%{version} %build %python_build -# commented out for gh#grantjenks/blue#26 -# ( cd docs ; PYTHONPATH=../build/lib make html ) +( cd docs ; PYTHONPATH=../build/lib make html ) %install %python_install @@ -98,4 +104,7 @@ also recognizes YAPF's block comments to the same effect. %{python_sitelib}/blue/ %{python_sitelib}/blue-%{version}-py*.egg-info +%files -n python-blue-doc +%doc docs/_build/html + %changelog