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

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


commit eb836e8b57d3701b33410cd84e9bb4cdc7afbdf1
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-pysam.spec | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-pysam.spec b/python-pysam.spec
index c0df033..f988707 100644
--- a/python-pysam.spec
+++ b/python-pysam.spec
@@ -31,16 +31,11 @@ It's a lightweight wrapper of the samtools C-API.
 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' tests/*.py
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pysam.git/commitdiff/eb836e8b57d3701b33410cd84e9bb4cdc7afbdf1



More information about the pld-cvs-commit mailing list