summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mysql-connector-python.spec5
1 files changed, 3 insertions, 2 deletions
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