From bcd49647df8d77f8b98ae9f5be4ff01c9a0e1245 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 20 Mar 2011 10:28:37 +0100 Subject: mysql-connector-python, minor fixes --- mysql-connector-python.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'mysql-connector-python.spec') 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 0.3.2-2 +- run unittest during %%check +- fix License + * Wed Mar 09 2011 Remi Collet 0.3.2-1 - first RPM -- cgit