]> git.pld-linux.org Git - packages/python-oursql.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
python-oursql.spec

index 686d2d39968e26071a4cfbbf8a6d79963358e0af..bfa34ef69f77cf1e3185439416257833f78856a3 100644 (file)
@@ -33,10 +33,7 @@ Python 2.x version.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py \
-       install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
This page took 0.070344 seconds and 4 git commands to generate.