]> git.pld-linux.org Git - packages/python-mechanize.git/blobdiff - python-mechanize.spec
automatic change: use py_build/py_install macros
[packages/python-mechanize.git] / python-mechanize.spec
index ab979538ea271250a13b1004466f9178284ebee2..01d4b108c1e6c831e4748a2886ff08031f3516a2 100644 (file)
@@ -29,13 +29,11 @@ Biblioteka do automatycznej interakcji ze stronami WWW.
 %setup -q -n %{module}-%{version}%{extraver}
 
 %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_postclean %{_datadir}/%{name}
 
This page took 0.086129 seconds and 4 git commands to generate.