From 0b3e7dadebf6adbea5379eda0cbd40e46c0c79d9 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Mon, 6 Jun 2011 18:06:41 +0200 Subject: [PATCH] use sqla_nose.py to fix %check --- python-sqlalchemy.spec | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/python-sqlalchemy.spec b/python-sqlalchemy.spec index 376fa1b..0c8b40d 100644 --- a/python-sqlalchemy.spec +++ b/python-sqlalchemy.spec @@ -25,15 +25,14 @@ BuildRequires: python2-devel %if 0%{?fedora} && 0%{?fedora} < 13 BuildRequires: python-setuptools-devel >= 0.6c3 %else -BuildRequires: python-setuptools +BuildRequires: python-setuptools %endif -BuildRequires: python-nose +BuildRequires: python-nose %if 0%{?with_python3} BuildRequires: python3-devel -BuildRequires: python3-setuptools -# No python3-nose package in fedora yet -#BuildRequires: python3-nose +BuildRequires: python3-setuptools +BuildRequires: python3-nose %endif %description @@ -111,16 +110,11 @@ rm -rf doc/build rm -rf %{buildroot} %check -export PYTHONPATH=. -%{__python} setup.py develop -d . -nosetests -e 'test_.*_connect' +./sqla_nose.py %if 0%{?with_python3} pushd %{py3dir} -export PYTHONPATH=. -%{__python3} setup.py develop -d . -### FIXME: No python-nose3 package yet -#nosetests3 +./sqla_nose.py popd %endif @@ -141,6 +135,7 @@ popd * Mon Jun 06 2011 Nils Philippsen - 0.7.1-1 - 0.7.1 Upstream release - no need to fix examples/dynamic_dict/dynamic_dict.py anymore +- use sqla_nose.py to fix %check * Wed Feb 09 2011 Fedora Release Engineering - 0.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild