[packages/dot2tex] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:25:37 CET 2015


commit b90980a2b04a203b35641c28d156ff7798a87c72
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 dot2tex.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/dot2tex.spec b/dot2tex.spec
index 5a4c816..8f52280 100644
--- a/dot2tex.spec
+++ b/dot2tex.spec
@@ -67,9 +67,7 @@ Przykłady dla dot2tex.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %{__cp} -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dot2tex.git/commitdiff/b90980a2b04a203b35641c28d156ff7798a87c72



More information about the pld-cvs-commit mailing list