diff options
author | Remi Collet <fedora@famillecollet.com> | 2011-03-20 10:28:37 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2011-03-20 10:28:37 +0100 |
commit | bcd49647df8d77f8b98ae9f5be4ff01c9a0e1245 (patch) | |
tree | 2f26607670980b2371fbb548e3b47f51746f36d4 | |
parent | ac6cdb0961fb842db946e0ca761410a7a465d440 (diff) |
mysql-connector-python, minor fixes
-rw-r--r-- | mysql-connector-python.spec | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 5c7cf07..99a9f55 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -2,17 +2,19 @@ Name: mysql-connector-python Version: 0.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MySQL Connector/Python Group: Development/Languages -License: GPLv2+ +License: GPLv2 with exceptions URL: https://launchpad.net/myconnpy Source0: http://launchpad.net/myconnpy/0.3/%{version}/+download/%{name}-%{version}-devel.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel +# for unittest +BuildRequires: mysql-server %description @@ -35,6 +37,10 @@ rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --root $RPM_BUILD_ROOT +%check +%{__python} unittests.py --mysql-basedir=%{_prefix} + + %clean rm -rf $RPM_BUILD_ROOT @@ -47,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Mar 20 2011 Remi Collet <Fedora@famillecollet.com> 0.3.2-2 +- run unittest during %%check +- fix License + * Wed Mar 09 2011 Remi Collet <Fedora@famillecollet.com> 0.3.2-1 - first RPM |