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

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


commit dda2e2bb03222434dcbb358774513f459ed1870c
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-pypar.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-pypar.spec b/python-pypar.spec
index cae50a5..a5bc171 100644
--- a/python-pypar.spec
+++ b/python-pypar.spec
@@ -59,8 +59,7 @@ python setup.py build_ext
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--install-lib=%{py_sitedir} \
 	--optimize=2
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pypar.git/commitdiff/dda2e2bb03222434dcbb358774513f459ed1870c



More information about the pld-cvs-commit mailing list