]> git.pld-linux.org Git - packages/python-mechanize.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-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.128362 seconds and 4 git commands to generate.