forked from pool/python-WebTest
- Disable testsuite on SLE_11_SP2 to fix the build (unittest module
lacks support) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
ae2def6cdb
commit
133520514a
@@ -1,7 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 11 11:22:19 UTC 2013 - saschpe@suse.de
|
||||
|
||||
- Add %py_requires to fix SLE_11_SP2 build.
|
||||
- Disable testsuite on SLE_11_SP2 to fix the build (unittest module
|
||||
lacks support)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 15:13:50 UTC 2012 - saschpe@suse.de
|
||||
|
||||
@@ -39,7 +39,6 @@ Requires: python-WebOb
|
||||
Provides: python-webtest = %{version}
|
||||
Obsoletes: python-webtest < %{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%py_requires
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
@@ -70,8 +69,10 @@ python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%if 0%{?suse_version} > 1110
|
||||
%check
|
||||
python setup.py test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user