14
0

- Use 2to3 to fix build, disable testsuite for now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=42
This commit is contained in:
Sascha Peilicke
2013-01-30 11:58:46 +00:00
committed by Git OBS Bridge
parent fbbc91cd2a
commit 4e5b88f0b2
3 changed files with 20 additions and 16 deletions

View File

@@ -16,15 +16,14 @@
#
%define modname simplejson
Name: python-%{modname}
Name: python-simplejson
Version: 3.0.7
Release: 0
Url: http://github.com/simplejson/simplejson
Summary: Simple, fast, extensible JSON encoder/decoder for Python
License: MIT or AFL-2.1
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
Source: http://pypi.python.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
@@ -41,7 +40,7 @@ with no dependencies, but includes an optional C extension for a
serious speed boost.
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n simplejson-%{version}
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
@@ -55,7 +54,7 @@ python setup.py test
%files
%defattr(-,root,root)
%doc CHANGES.txt LICENSE.txt README.rst
%{python_sitearch}/%{modname}/
%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info
%{python_sitearch}/simplejson/
%{python_sitearch}/simplejson-%{version}-py%{py_ver}.egg-info
%changelog