From 628b9084cdf861b98d6eca7136cdadcae36efe19 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 20 Mar 2011 10:31:21 +0100 Subject: mysql-connector-python, minor fixes 2 --- mysql-connector-python.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mysql-connector-python.spec') diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 99a9f55..e280a5f 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -28,12 +28,13 @@ is necessary to run this Python DB API v2.0 compliant driver. %{__chmod} -x python2/examples/*py + %build # nothin to build %install -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT %{__python} setup.py install --root $RPM_BUILD_ROOT @@ -42,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT %files -- cgit