Accepting request 142495 from devel:languages:python
- Require python-python-openid instead of non-existing python-openid - Build HTML documentation OBS-URL: https://build.opensuse.org/request/show/142495 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Paste?expand=0&rev=6
This commit is contained in:
commit
72b32f959c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 15:35:29 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Require python-python-openid instead of non-existing python-openid
|
||||
- Build HTML documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 22 09:48:40 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Paste
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@ -16,10 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: python-Paste
|
||||
Version: 1.7.5.1
|
||||
Release: 1
|
||||
Release: 0
|
||||
Url: http://pythonpaste.org
|
||||
Summary: Tools for using a Web Server Gateway Interface stack
|
||||
License: MIT
|
||||
@ -28,18 +27,19 @@ Source: http://pypi.python.org/packages/source/P/Paste/Paste-%{version}.
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
# Documentation build requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
# Test build requirements:
|
||||
#BuildRequires: python-nose
|
||||
Requires: python-flup
|
||||
Requires: python-openid
|
||||
%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()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
Requires: python-python-openid
|
||||
Provides: python-paste = %{version}
|
||||
Obsoletes: python-paste < %{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
These provide several pieces of "middleware" (or filters) that can be nested
|
||||
@ -49,21 +49,20 @@ interfaces.
|
||||
|
||||
%prep
|
||||
%setup -q -n Paste-%{version}
|
||||
mv docs/_build docs/html
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
#%%check
|
||||
#python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/*
|
||||
%doc build/sphinx/html
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user