From 751adc33a9a7986e3ea6872e4482a38f9664acfe36790f81b642ac457c0287e1 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 23 Sep 2011 13:00:33 +0000 Subject: [PATCH] - Update to version 0.13.4: * - Run testsuite - BuildRequire python-distribute instead of python-setuptools - Package examples, LICENSE, NOTICE, README.rst, THANKS OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=11 --- gunicorn-0.13.3.tar.gz | 3 --- gunicorn-0.13.4.tar.gz | 3 +++ python-gunicorn.changes | 9 +++++++ python-gunicorn.spec | 57 +++++++++++++++++++---------------------- 4 files changed, 38 insertions(+), 34 deletions(-) delete mode 100644 gunicorn-0.13.3.tar.gz create mode 100644 gunicorn-0.13.4.tar.gz diff --git a/gunicorn-0.13.3.tar.gz b/gunicorn-0.13.3.tar.gz deleted file mode 100644 index 86e5674..0000000 --- a/gunicorn-0.13.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6241134a7257efb4d566406db1f9df022507f750c174c601ee4287029b4c08d -size 281520 diff --git a/gunicorn-0.13.4.tar.gz b/gunicorn-0.13.4.tar.gz new file mode 100644 index 0000000..517f762 --- /dev/null +++ b/gunicorn-0.13.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e653e90547506c58f293b00ab78caf42829812ff6884a88145e1e0b61eee7d11 +size 283003 diff --git a/python-gunicorn.changes b/python-gunicorn.changes index 9878765..e1e0e2b 100644 --- a/python-gunicorn.changes +++ b/python-gunicorn.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 23 12:58:37 UTC 2011 - saschpe@suse.de + +- Update to version 0.13.4: + * +- Run testsuite +- BuildRequire python-distribute instead of python-setuptools +- Package examples, LICENSE, NOTICE, README.rst, THANKS + ------------------------------------------------------------------- Fri Sep 23 11:49:59 UTC 2011 - suse@ammler.ch diff --git a/python-gunicorn.spec b/python-gunicorn.spec index ad00da6..25d2121 100644 --- a/python-gunicorn.spec +++ b/python-gunicorn.spec @@ -11,30 +11,29 @@ # 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.13.3 -Release: 1 -License: MIT +Version: 0.13.4 +Release: 0 +Url: http://gunicorn.org Summary: WSGI HTTP Server for UNIX -Group: Productivity/Networking/Web/Servers -Source: http://pypi.python.org/packages/source/g/%{mod}/%{mod}-%{version}.tar.gz -BuildRequires: python-base -BuildRequires: python-setuptools -%if 0%{?suse_version} > 1120 +License: MIT +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-distribute +BuildRequires: python-nose +%if 0%{?suse_version} +%py_requires +%if 0%{?suse_version} > 1110 BuildArch: noarch %endif -Url: http://gunicorn.org -Provides: %{mod} = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires +%endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork @@ -43,7 +42,6 @@ compatible with various web frameworks, simply implemented, light on server resource usage, and fairly speedy. %package doc -License: MIT Summary: Documentation for %{mod} Group: Documentation/Other Requires: %{name} = %{version} @@ -52,28 +50,25 @@ Requires: %{name} = %{version} This package contains Gunicorn documentation in reST and HTML formats. %prep -%setup -q -n %{mod}-%{version} +%setup -q -n gunicorn-%{version} %build python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %{buildroot} +%check +python setup.py test -%files -f INSTALLED_FILES -%defattr(-,root,root) -%dir %{python_sitelib}/gunicorn -%dir %{python_sitelib}/gunicorn/app -%dir %{python_sitelib}/gunicorn/http -%dir %{python_sitelib}/gunicorn/management -%dir %{python_sitelib}/gunicorn/management/commands -%dir %{python_sitelib}/gunicorn/workers +%files +%defattr(-,root,root,-) +%doc LICENSE NOTICE README.rst THANKS +%{_bindir}/gunicorn* +%{python_sitelib}/* %files doc %defattr(-,root,root,-) -%doc doc +%doc doc/htdocs examples %changelog