[python-sqlalchemy] use sqla_nose.py to fix %check
Nils Philippsen
nphilipp at fedoraproject.org
Mon Jun 6 16:07:02 UTC 2011
commit 0b3e7dadebf6adbea5379eda0cbd40e46c0c79d9
Author: Nils Philippsen <nils at redhat.com>
Date: Mon Jun 6 18:06:41 2011 +0200
use sqla_nose.py to fix %check
python-sqlalchemy.spec | 19 +++++++------------
1 files 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 <nils at redhat.com> - 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 <rel-eng at lists.fedoraproject.org> - 0.6.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list