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

index bfd5c9d1bd9f385b98b40ee5f8aa89425ad495d6..7ca28a10d0be24736af93b16d84dd68674cbccfe 100644 (file)
@@ -28,14 +28,12 @@ repository data.
 %setup  -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
This page took 0.106264 seconds and 4 git commands to generate.