- Update to 1.0.3.dev-20110405:

* Re-seed random module after each fork.
  * Add an indication as to which header fails assertion when
    passing in non-string header names and/or values.
- Ran py2pack to cleanup spec file
  * Removed old changelog entries

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flup?expand=0&rev=11
This commit is contained in:
Sascha Peilicke
2011-08-31 12:49:59 +00:00
committed by Git OBS Bridge
parent 6b1310d59e
commit fededf83ba
4 changed files with 52 additions and 38 deletions

View File

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

View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Aug 31 12:41:13 UTC 2011 - saschpe@suse.de
- Update to 1.0.3.dev-20110405:
* Re-seed random module after each fork.
* Add an indication as to which header fails assertion when
passing in non-string header names and/or values.
- Ran py2pack to cleanup spec file
* Removed old changelog entries
-------------------------------------------------------------------
Tue Sep 29 17:30:43 UTC 2009 - alexandre@exatati.com.br

View File

@@ -1,53 +1,57 @@
# norootforbuild
#
# spec file for package python-flup
#
# 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/
#
Name: python-flup
Version: 1.0.2
Release: 0
Summary: A collection of WSGI modules for Python
License: BSD License
Source0: flup-%{version}.tar.gz
Group: Development/Libraries/Python
URL: http://trac.saddi.com/flup
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel python-setuptools
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
Name: python-flup
Version: 1.0.3.dev_20110405
Release: 0
Url: http://www.saddi.com/software/flup/
Summary: Random assortment of WSGI servers
License: BSD
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/f/flup/flup-1.0.3.dev-20110405.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
A random collection of WSGI modules for Python
Authors:
--------
Allan Saddi <allan@saddi.com>
%prep
%setup -n flup-%{version}
%setup -q -n flup-1.0.3.dev-20110405
%build
export CFLAGS="$RPM_OPT_FLAGS"
%{__python} setup.py build
python setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%files
%defattr(-,root,root,-)
%doc ChangeLog
%{python_sitelib}/*
%changelog
* Fri Nov 14 2008 Ciaran Farrell <cfarrell1980@gmail.com>
- replaced --record with --record-rpm as per bnc#441794
* Mon Mar 26 2007 judas_iscariote@shorewall.net
- missing prefix that rendered this package unusable (files installed in the wrong place)