[packages/MACS] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:20:49 CET 2015
commit 56d3987628db3db9aa784eda4db023fa785b6e8e
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
MACS.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/MACS.spec b/MACS.spec
index 33e599f..246ffb1 100644
--- a/MACS.spec
+++ b/MACS.spec
@@ -41,14 +41,11 @@ used for ChIP-Seq with or without control samples.
%{__sed} -i -e '1s,^#!.*python,#!%{__python},' bin/* setup.py
%build
-%{__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_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/MACS.git/commitdiff/56d3987628db3db9aa784eda4db023fa785b6e8e
More information about the pld-cvs-commit
mailing list