diff --git a/python-simplejson.changes b/python-simplejson.changes index 5ee6f3c..151299f 100644 --- a/python-simplejson.changes +++ b/python-simplejson.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri May 25 12:26:32 UTC 2012 - toddrme2178@gmail.com + +- Clean up spec file +- Update to version 2.5.2: + * Fix for regression introduced in 2.5.1 +- Update to version 2.5.1: + * Support for use_decimal=True in environments that use Python + sub-interpreters such as uWSGI +- Update to version 2.5.1: + * New item_sort_key option for encoder to allow fine grained + control of sorted output + ------------------------------------------------------------------- Mon Mar 12 21:17:06 UTC 2012 - saschpe@gmx.de diff --git a/python-simplejson.spec b/python-simplejson.spec index 3f40625..18a8944 100644 --- a/python-simplejson.spec +++ b/python-simplejson.spec @@ -15,20 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -Name: python-simplejson -Version: 2.4.0 +%define modname simplejson +Name: python-%{modname} +Version: 2.5.2 Release: 0 Url: http://github.com/simplejson/simplejson Summary: Simple, fast, extensible JSON encoder/decoder for Python License: MIT Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz +Source: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%if 0%{?suse_version} <= 1110 +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%else +%py_requires %endif %description @@ -38,7 +40,7 @@ with no dependencies, but includes an optional C extension for a serious speed boost. %prep -%setup -q -n simplejson-%{version} +%setup -q -n %{modname}-%{version} %build CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build @@ -52,6 +54,7 @@ python setup.py test %files %defattr(-,root,root) %doc CHANGES.txt LICENSE.txt README.rst -%{python_sitearch}/* +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info %changelog diff --git a/simplejson-2.4.0.tar.gz b/simplejson-2.4.0.tar.gz deleted file mode 100644 index 6b66fb5..0000000 --- a/simplejson-2.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac0f5122a213ef35c3af6464a2885aef5b56a4954f003eac767dd8e077949885 -size 51880 diff --git a/simplejson-2.5.2.tar.gz b/simplejson-2.5.2.tar.gz new file mode 100644 index 0000000..83ffa9b --- /dev/null +++ b/simplejson-2.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:196dbf614facc5f3e650cc38a18ab64c2df0b502ecf217cbd1c9d840133e70a4 +size 53009