From b4532b35c0dca98f3014b12be2a51e368ceb658096560ce35aceb3c2d352d702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Gm=C3=BCr?= Date: Fri, 8 Jul 2011 13:21:12 +0000 Subject: [PATCH] Accepting request 75871 from home:openttdcoop:server add improvements asked for - spec header - dropped _service - support for SLE_11 OBS-URL: https://build.opensuse.org/request/show/75871 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=2 --- _service | 3 --- gunicorn-0.12.2.tar.bz2 | 3 +++ python-gunicorn.changes | 7 +++++++ python-gunicorn.spec | 29 +++++++++++++++++++++++++---- 4 files changed, 35 insertions(+), 7 deletions(-) delete mode 100644 _service create mode 100644 gunicorn-0.12.2.tar.bz2 diff --git a/_service b/_service deleted file mode 100644 index 76828d7..0000000 --- a/_service +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/gunicorn-0.12.2.tar.bz2 b/gunicorn-0.12.2.tar.bz2 new file mode 100644 index 0000000..11b3961 --- /dev/null +++ b/gunicorn-0.12.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0aa2f9cb72edb94260ed35a1b988fb89417b9720af817b75cdb86f91aa2838d5 +size 153013 diff --git a/python-gunicorn.changes b/python-gunicorn.changes index 3627e76..9d7858d 100644 --- a/python-gunicorn.changes +++ b/python-gunicorn.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 8 12:25:33 UTC 2011 - ammler@openttdcoop.org + +- spec header +- dropped _service +- support for SLE_11 + ------------------------------------------------------------------- Sat Jul 2 20:36:39 UTC 2011 - ammler@openttdcoop.org diff --git a/python-gunicorn.spec b/python-gunicorn.spec index 520cfa3..80ec367 100644 --- a/python-gunicorn.spec +++ b/python-gunicorn.spec @@ -1,3 +1,23 @@ +# +# spec file for package python-gunicorn +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# 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))")} + %define mod gunicorn Name: python-gunicorn Version: 0.12.2 @@ -5,11 +25,13 @@ Release: 1 Summary: WSGI HTTP Server for UNIX License: MIT Group: Productivity/Networking/Web/Servers -Source: http://pypi.python.org/packages/source/g/%{mod}/%{mod}-%{version}.tar.gz -BuildRequires: python-setuptools python-devel >= 2.5 +Source: http://pypi.python.org/packages/source/g/%{mod}/%{mod}-%{version}.tar.bz2 +BuildRequires: python-setuptools python-base +%if %{suse_version} > 1120 +BuildArch: noarch +%endif %py_requires BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch Url: http://gunicorn.org Provides: %{mod} = %{version} @@ -29,7 +51,6 @@ Requires: %{name} = %{version} %description doc This package contains Gunicorn documentation in reST and HTML formats. - %prep %setup -q -n %{mod}-%{version}