diff --git a/python-mccabe.changes b/python-mccabe.changes index 081e1df..407942d 100644 --- a/python-mccabe.changes +++ b/python-mccabe.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 23 13:04:20 UTC 2013 - speilicke@suse.com + +- Fix SLE_11_SP2 build +- Set license to MIT (SPDX mapping from Expat) + ------------------------------------------------------------------- Sun Apr 21 23:39:43 UTC 2013 - dmueller@suse.com diff --git a/python-mccabe.spec b/python-mccabe.spec index f57a558..f1c2089 100644 --- a/python-mccabe.spec +++ b/python-mccabe.spec @@ -18,7 +18,7 @@ Name: python-mccabe Version: 0.2.1 Release: 0 -License: Expat license +License: MIT Summary: McCabe checker, plugin for flake8 Url: https://github.com/flintwork/mccabe Group: Development/Languages/Python @@ -28,26 +28,26 @@ BuildRequires: python-distribute BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %else BuildArch: noarch %endif %description Ned's script to check McCabe complexity. -This module provides a plugin for ``flake8``, the Python code checker. +This module provides a plugin for flake8, the Python code checker. %prep %setup -q -n mccabe-%{version} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) +%doc README.rst %{python_sitelib}/* %changelog