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

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


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

    automatic change: use py_build/py_install macros

 python-ClientCookie.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-ClientCookie.spec b/python-ClientCookie.spec
index 372d224..5df6f08 100644
--- a/python-ClientCookie.spec
+++ b/python-ClientCookie.spec
@@ -44,15 +44,13 @@ z biblioteki libwww-perl.
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 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
 
 %py_postclean
 install test/*.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ClientCookie.git/commitdiff/74efba39dfc08fbb54cc75bec32b7b0f3f66e172



More information about the pld-cvs-commit mailing list