[packages/python-pyxattr] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:41:14 CET 2015


commit 425f3241e55fb5c97a2c081b390fe21d697a7276
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-pyxattr.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pyxattr.spec b/python-pyxattr.spec
index 65037a0..cddbf7a 100644
--- a/python-pyxattr.spec
+++ b/python-pyxattr.spec
@@ -29,13 +29,11 @@ plików.
 %build
 CC="%{__cc}" \
 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyxattr.git/commitdiff/425f3241e55fb5c97a2c081b390fe21d697a7276



More information about the pld-cvs-commit mailing list