]> git.pld-linux.org Git - packages/python-simplejson.git/commitdiff
- updated to 3.0.8 (for python 2.5+) auto/th/python-simplejson-3.0.8-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 20 Feb 2013 18:56:14 +0000 (19:56 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 20 Feb 2013 18:56:14 +0000 (19:56 +0100)
- pass optflags

python-simplejson.spec

index b0b554d12f37baa692465a29bcf94fdbf4ecbe04..0d0b6a0610beffaa4bf33bb5c35af8d178c0d100 100644 (file)
@@ -1,16 +1,15 @@
-# TODO: optflags
 %define                module          simplejson
 Summary:       Simple, fast, extensible JSON encoder/decoder for Python
 Summary(pl.UTF-8):     Prosty, szybki, rozszerzalny (de)koder JSON dla Pythona
 Name:          python-%{module}
-Version:       2.5.2
+Version:       3.0.8
 Release:       1
-License:       MIT
+License:       MIT or AFL v2.1
 Group:         Libraries
-Source0:       http://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
-# Source0-md5: d7a7acf0bd7681bd116b5c981d2f7959
+Source0:       http://pypi.python.org/packages/source/s/simplejson/%{module}-%{version}.tar.gz
+# Source0-md5: a3b584dcc6963074c24f391b20edd805
 URL:           http://undefined.org/python/#simplejson
-BuildRequires: python >= 1:2.4
+BuildRequires: python >= 1:2.5
 BuildRequires: python-devel
 BuildRequires: python-setuptools >= 0.6-0.c1
 BuildRequires: rpm-pythonprov
@@ -19,16 +18,18 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 simplejson is a simple, fast, complete, correct and extensible JSON
-<http://json.org/> encoder and decoder for Python 2.4+.
+<http://json.org/> encoder and decoder for Python 2.5+.
 
 %description -l pl.UTF-8
 simplejson to prosty, szybki, pełny, poprawny i rozszerzalny koder i
-dekoder JSON (<http://json.org/>) dla Pythona 2.4 i nowszych wersji.
+dekoder JSON (<http://json.org/>) dla Pythona 2.5 i nowszych wersji.
 
 %prep
 %setup -qn %{module}-%{version}
 
 %build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
 %{__python} setup.py build
 
 %install
@@ -46,6 +47,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc CHANGES.txt LICENSE.txt README.rst
 %dir %{py_sitedir}/simplejson
 %{py_sitedir}/simplejson/*.py[co]
 %attr(755,root,root) %{py_sitedir}/simplejson/*.so
This page took 0.094339 seconds and 4 git commands to generate.