diff --git a/mccabe-0.2.1.tar.gz b/mccabe-0.2.1.tar.gz deleted file mode 100644 index 6417a70..0000000 --- a/mccabe-0.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a2a170e47de5593a6abfae1e9542bd2c3924ac62bbe4e6ed96c953c0352243a -size 5031 diff --git a/mccabe-0.3.tar.gz b/mccabe-0.3.tar.gz new file mode 100644 index 0000000..0bea9ed --- /dev/null +++ b/mccabe-0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d8ca9bf65c5014f469180544d1dd5bb5b9df709aad6304f9c2e4370ae0a7b7c +size 6127 diff --git a/python-mccabe.changes b/python-mccabe.changes index 4df5b6f..0f6f9cb 100644 --- a/python-mccabe.changes +++ b/python-mccabe.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu May 7 16:34:53 UTC 2015 - benoit.monin@gmx.fr + +- update to version 0.3: + * Computation was wrong: the mccabe complexity starts at 1, not 2 + * The max-complexity value is now inclusive. E.g.: if the value + is 10 and the reported complexity is 10, then it passes + * Add tests +- add the LICENSE to the package documentation + ------------------------------------------------------------------- Thu Oct 24 11:08:23 UTC 2013 - speilicke@suse.com diff --git a/python-mccabe.spec b/python-mccabe.spec index de0f8d1..4998b33 100644 --- a/python-mccabe.spec +++ b/python-mccabe.spec @@ -1,7 +1,7 @@ # # spec file for package python-mccabe # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-mccabe -Version: 0.2.1 +Version: 0.3 Release: 0 Summary: McCabe checker, plugin for flake8 License: MIT @@ -48,7 +48,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) -%doc README.rst +%doc LICENSE README.rst %{python_sitelib}/* %changelog