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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:46:43 CET 2015


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

    automatic change: use py_build/py_install macros

 python-textile.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-textile.spec b/python-textile.spec
index e99b5b7..bdb5e23 100644
--- a/python-textile.spec
+++ b/python-textile.spec
@@ -34,15 +34,13 @@ wytłuszczenie itp.)
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 %py_postclean
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-textile.git/commitdiff/c874b646ba31562a91f89c370edd9912a8fa6c47



More information about the pld-cvs-commit mailing list