From 8c88c70cd63c197270f2ebc9b55eb3ed7d4d74162fd8fb5055ee0be515362805 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 29 Apr 2013 14:11:59 +0000 Subject: [PATCH] - Reduce buildrequires as long as the testsuite and doc build isn't fixed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-waitress?expand=0&rev=2 --- python-waitress.changes | 5 +++++ python-waitress.spec | 15 +++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/python-waitress.changes b/python-waitress.changes index ff3f816..268b2e1 100644 --- a/python-waitress.changes +++ b/python-waitress.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 29 14:14:25 UTC 2013 - speilicke@suse.com + +- Reduce buildrequires as long as the testsuite and doc build isn't fixed + ------------------------------------------------------------------- Mon Apr 29 13:06:10 UTC 2013 - dmueller@suse.com diff --git a/python-waitress.spec b/python-waitress.spec index c81972e..fa343d5 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -25,13 +25,14 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/w/waitress/waitress-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-distribute -BuildRequires: python-Sphinx -BuildRequires: python-nose -BuildRequires: python-docutils +# Test requirements: +#BuildRequires: python-nose +# Documentation requirements: +#BuildRequires: python-Sphinx +#BuildRequires: python-docutils BuildRoot: %{_tmppath}/%{name}-%{version}-build %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()")} -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %else BuildArch: noarch %endif @@ -50,16 +51,18 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ . %setup -q -n waitress-%{version} %build -CFLAGS="%{optflags}" python setup.py build +python setup.py build +#python setup.py build_sphinx %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -#%check +#%%check #python setup.py test %files %defattr(-,root,root,-) +%doc COPYRIGHT.txt LICENSE.txt README.rst %{python_sitelib}/* %changelog