[packages/ansible] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:22:26 CET 2015
commit c1c20d55711fb32a7aada2579e8520e7a635ca2d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
ansible.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/ansible.spec b/ansible.spec
index 733e38d..7148560 100644
--- a/ansible.spec
+++ b/ansible.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ansible.git/commitdiff/c1c20d55711fb32a7aada2579e8520e7a635ca2d
More information about the pld-cvs-commit
mailing list