From 8155a808d502460ed1e1b79aa0a2ace5464f44c7064143c0bd40e7dc3515cb45 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 22 Feb 2012 12:37:34 +0000 Subject: [PATCH] Accepting request 106445 from home:saschpe:branches:devel:languages:python - Fixed SLE_11 build by disabling the testsuite for it OBS-URL: https://build.opensuse.org/request/show/106445 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=15 --- python-SQLAlchemy.changes | 5 +++++ python-SQLAlchemy.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index 8caddbc..a720781 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 22 12:36:45 UTC 2012 - saschpe@suse.de + +- Fixed SLE_11 build by disabling the testsuite for it + ------------------------------------------------------------------- Thu Feb 9 09:39:26 UTC 2012 - rhafer@suse.de diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 0e1a909..5702bcb 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -16,7 +16,6 @@ # - Name: python-SQLAlchemy Version: 0.7.5 Release: 0 @@ -28,8 +27,8 @@ Source0: http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-% BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute -BuildRequires: python-pysqlite BuildRequires: python-nose +BuildRequires: python-pysqlite %if 0%{?suse_version} BuildRequires: update-desktop-files %py_requires @@ -68,8 +67,10 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py --with-cextensions bui %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if 0%{?suse_version} > 1110 %check python setup.py test +%endif %files %defattr(-,root,root,-)