diff --git a/python-yapf.changes b/python-yapf.changes index 104bbbf..650d06f 100644 --- a/python-yapf.changes +++ b/python-yapf.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 29 11:37:58 UTC 2018 - tchvatal@suse.com + +- Version update to 0.23.0: + * Many changes to behaviour based on CHANGELOG + * Add various documents/license to distributed tarball + ------------------------------------------------------------------- Sun Mar 4 11:06:23 UTC 2018 - jengelh@inai.de diff --git a/python-yapf.spec b/python-yapf.spec index 9a53f98..0e31928 100644 --- a/python-yapf.spec +++ b/python-yapf.spec @@ -17,30 +17,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-yapf -Version: 0.19.0 +Version: 0.23.0 Release: 0 Summary: A formatter for Python code License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/google/yapf +URL: https://github.com/google/yapf Source: https://files.pythonhosted.org/packages/source/y/yapf/yapf-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module nose} BuildRequires: python-futures -%endif +BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %ifpython2 Recommends: python-futures %endif -Requires(post): update-alternatives -Requires(postun): update-alternatives - %python_subpackages %description @@ -65,10 +60,8 @@ be reformatted. %python_clone -a %{buildroot}%{_bindir}/yapf -%if %{with test} %check %python_expand nosetests-%{$python_bin_suffix} -%endif %post %python_install_alternative yapf @@ -77,8 +70,8 @@ be reformatted. %python_uninstall_alternative yapf %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst +%license LICENSE +%doc README.rst CHANGELOG %python_alternative %{_bindir}/yapf %{python_sitelib}/* diff --git a/yapf-0.19.0.tar.gz b/yapf-0.19.0.tar.gz deleted file mode 100644 index 9371868..0000000 --- a/yapf-0.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:701b076a4916e3cfbba345e0297dcd54a02fd0fdcae1f43346f8a043c3bbd052 -size 120638 diff --git a/yapf-0.23.0.tar.gz b/yapf-0.23.0.tar.gz new file mode 100644 index 0000000..fc9e36b --- /dev/null +++ b/yapf-0.23.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:330632d2592e67571ef2c113fe6f5802e2fa5d657448755d5546eea00693dc31 +size 159301