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
This commit is contained in:
Marcel Gmür 2011-07-08 13:21:12 +00:00 committed by Git OBS Bridge
parent 19e0e615a5
commit b4532b35c0
4 changed files with 35 additions and 7 deletions

View File

@ -1,3 +0,0 @@
<services>
<service name="download_files"/>
</services>

3
gunicorn-0.12.2.tar.bz2 Normal file
View File

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

View File

@ -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

View File

@ -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}