14
0

Accepting request 48274 from devel:languages:python

Copy from devel:languages:python/python-simplejson based on submit request 48274 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=6
This commit is contained in:
OBS User autobuild
2010-09-17 23:10:19 +00:00
committed by Git OBS Bridge
parent a3540e97a6
commit de2ba0e95e
4 changed files with 30 additions and 22 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Jul 5 19:35:48 UTC 2010 - alexandre@exatati.com.br
- Update to 2.1.1:
* Corrected simplejson.__version__ and other minor doc changes.
* Do not fail speedups tests if speedups could not be built.
* Decimal serialization officially supported for encoding with
use_decimal=True. For encoding this encodes Decimal objects and
for decoding it implies parse_float=Decimal
* Decoding performance and memory utilization enhancements
... see CHANGES.txt for more
- Spec file cleaned with spec-cleaner.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 25 00:00:00 UTC 2009 - James Oakley <jfunk@funktronics.ca> Mon May 25 00:00:00 UTC 2009 - James Oakley <jfunk@funktronics.ca>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-simplejson (Version 2.0.9) # spec file for package python-simplejson (Version 2.1.1)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,18 @@
Summary: Simple, fast, extensible JSON encoder/decoder for Python Summary: Simple, fast, extensible JSON encoder/decoder for Python
Name: python-simplejson Name: python-simplejson
Version: 2.0.9 Version: 2.1.1
Release: 1 Release: 1
License: BSD License: BSD
Group: Development/Libraries/Python
Url: http://undefined.org/python/#simplejson Url: http://undefined.org/python/#simplejson
Group: Development/Libraries/Python
Source: simplejson-%{version}.tar.bz2 Source: simplejson-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes python python-devel python-setuptools %{py_requires}
%py_requires
%description %description
simplejson is a simple, fast, complete, correct and extensible JSON simplejson is a simple, fast, complete, correct and extensible JSON
@@ -35,10 +38,6 @@ simplejson is a simple, fast, complete, correct and extensible JSON
with no dependencies, but includes an optional C extension for a serious speed with no dependencies, but includes an optional C extension for a serious speed
boost. boost.
Authors:
--------
Bob Ippolito <bob@redivi.com>
%package doc %package doc
License: BSD License: BSD
Summary: Documentation for simplejson Summary: Documentation for simplejson
@@ -53,28 +52,23 @@ boost.
This package contains documentation for simplejson. This package contains documentation for simplejson.
Authors:
--------
Bob Ippolito <bob@redivi.com>
%prep %prep
%setup -q -n simplejson-%{version} %setup -q -n simplejson-%{version}
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="%{optflags}"
python setup.py build python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT" python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes $RPM_BUILD_ROOT %fdupes %{buildroot}
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%files %files
%defattr(-, root, root, 0755) %defattr(-, root, root, 0755)
%doc LICENSE.txt %doc LICENSE.txt CHANGES.txt
%{py_sitedir}* %{py_sitedir}*
%files doc %files doc

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbd5f41074bb733c2fbc54a577ddedb99d170ff3af71361812a557a424e8b52c
size 103825

3
simplejson-2.1.1.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:387d2d88c131b8a3dc9bf24e96c3f314be31b85697982401eea56605e0679b7b
size 115573