forked from pool/python-simplejson
Accepting request 122373 from home:TheBlackCat:branches:devel:languages:python
- Clean up spec file - Update to version 2.5.2: OBS-URL: https://build.opensuse.org/request/show/122373 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=27
This commit is contained in:
@@ -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
|
Mon Mar 12 21:17:06 UTC 2012 - saschpe@gmx.de
|
||||||
|
|
||||||
|
@@ -15,20 +15,22 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%define modname simplejson
|
||||||
Name: python-simplejson
|
Name: python-%{modname}
|
||||||
Version: 2.4.0
|
Version: 2.5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://github.com/simplejson/simplejson
|
Url: http://github.com/simplejson/simplejson
|
||||||
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||||
|
%else
|
||||||
|
%py_requires
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -38,7 +40,7 @@ with no dependencies, but includes an optional C extension for a
|
|||||||
serious speed boost.
|
serious speed boost.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n simplejson-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||||
@@ -52,6 +54,7 @@ python setup.py test
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES.txt LICENSE.txt README.rst
|
%doc CHANGES.txt LICENSE.txt README.rst
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/%{modname}/
|
||||||
|
%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ac0f5122a213ef35c3af6464a2885aef5b56a4954f003eac767dd8e077949885
|
|
||||||
size 51880
|
|
3
simplejson-2.5.2.tar.gz
Normal file
3
simplejson-2.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:196dbf614facc5f3e650cc38a18ab64c2df0b502ecf217cbd1c9d840133e70a4
|
||||||
|
size 53009
|
Reference in New Issue
Block a user