]> git.pld-linux.org Git - packages/python-openpyxl.git/blobdiff - python-openpyxl.spec
automatic change: use py_build/py_install macros
[packages/python-openpyxl.git] / python-openpyxl.spec
index 3f26231f286c1ea428af30840135fc74d82391b1..bcab9b1542f6ec32425e5830bb4648aa73e3407c 100644 (file)
@@ -27,16 +27,13 @@ is ported from the PHPExcel project
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 #%{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
This page took 0.106134 seconds and 4 git commands to generate.