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

index 733e38d1c94486f5473e238031785cc2daf398fe..714856022fad6093087a145f949eec08e6487aae 100644 (file)
@@ -59,15 +59,12 @@ requirements.
 %patch0 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 %{__make} modulepages
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 #py_postclean
 
This page took 0.062359 seconds and 4 git commands to generate.