disable test_bugs with MySQL 5.1 (EL-6)
This commit is contained in:
parent
3dac866679
commit
2d6e8799a3
1 changed files with 11 additions and 4 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
Name: mysql-connector-python
|
||||
Version: 1.0.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: MySQL Connector for Python 2
|
||||
|
||||
Group: Development/Languages
|
||||
|
|
@ -69,11 +69,15 @@ rm -rf build
|
|||
|
||||
|
||||
%check
|
||||
ver=$(mysql_config --version 2>/dev/null || echo 0)
|
||||
if [ "$ver" \< "5.5" ]
|
||||
then
|
||||
## Test 809033 fails with mysql 5.1
|
||||
sed -i -e '/test_bugs/d' python2/tests/__init__.py
|
||||
fi
|
||||
%{__python} unittests.py \
|
||||
--mysql-basedir=%{_prefix} \
|
||||
--verbosity=1 \
|
||||
--log=tests.log
|
||||
|
||||
--verbosity=1
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
|
@ -97,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Aug 10 2012 Remi Collet <remi@fedoraproject.org> - 1.0.5-2
|
||||
- disable test_bugs with MySQL 5.1 (EL-6)
|
||||
|
||||
* Wed Aug 8 2012 Remi Collet <remi@fedoraproject.org> - 1.0.5-1
|
||||
- version 1.0.5 (beta)
|
||||
- move from launchpad (devel) to dev.mysql.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue