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

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


commit b0c56ec0924ea9c5459f3ef61d8cada12730f52d
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-nltk.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-nltk.spec b/python-nltk.spec
index c75240f..40159af 100644
--- a/python-nltk.spec
+++ b/python-nltk.spec
@@ -40,12 +40,12 @@ przetwarzającym tekst w języku naturalnym.
 %setup  -q -n %{module}-%{version}%{pre}
 
 %build
-python ./setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python ./setup.py install \
+%py_install \
 	--optimize 2 \
 	--root=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-nltk.git/commitdiff/b0c56ec0924ea9c5459f3ef61d8cada12730f52d



More information about the pld-cvs-commit mailing list