]> git.pld-linux.org Git - packages/MACS.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
MACS.spec

index 33e599f847c16ffc57a53838a186d5a316f0522f..246ffb168061ac58c964c74773dbb42d78f2df57 100644 (file)
--- 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}
This page took 0.071553 seconds and 4 git commands to generate.