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

index 6e76b08bf047df60220f1ad239fbfe0ebb7e42ed..c7617972cc3be6243acba864bcd4c2a603a02bf8 100644 (file)
@@ -30,14 +30,12 @@ aimed to be complete, fast and feel native to Python programmers.
 %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_postclean
 
This page took 0.110814 seconds and 4 git commands to generate.