From cd82edd1034cca940ade6264c9e39357c736df9ada27603c8b92fec94912cd06 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 7 Jul 2011 20:20:02 +0000 Subject: [PATCH] - Added README and examples to documentation - Fixed license string to "Apache-2.0" OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=9 --- python-tornado.changes | 6 ++++++ python-tornado.spec | 10 ++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/python-tornado.changes b/python-tornado.changes index 407a1c4..e634a52 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 7 20:19:08 UTC 2011 - saschpe@gmx.de + +- Added README and examples to documentation +- Fixed license string to "Apache-2.0" + ------------------------------------------------------------------- Wed Jun 22 11:47:26 UTC 2011 - alexandre@exatati.com.br diff --git a/python-tornado.spec b/python-tornado.spec index 6d548cd..30afd6e 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -15,15 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Name: python-tornado Version: 2.0 Release: 0 Url: http://www.tornadoweb.org Summary: Open source version of scalable, non-blocking web server that power FriendFeed -License: http://www.apache.org/licenses/LICENSE-2.0 +License: Apache-2.0 Group: Development/Languages/Python Source: tornado-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -36,6 +33,7 @@ Requires: python-simplejson BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. @@ -53,8 +51,7 @@ thousands of clients, see The C10K problem.) %setup -q -n tornado-%{version} %build -export CFLAGS="%{optflags}" -python setup.py build +CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -64,6 +61,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) +%doc README demos %{python_sitelib}/* %changelog