[packages/python-biopython] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:16:12 CET 2015
commit 9c136950bfce7cd257563dced484d5860d73c6ca
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-biopython.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-biopython.spec b/python-biopython.spec
index dde873c..f202a45 100644
--- a/python-biopython.spec
+++ b/python-biopython.spec
@@ -31,14 +31,12 @@ biology.
%setup -q -n %{module}-%{version}
%build
-echo y | %{__python} setup.py build
+echo y | %py_build
%install
rm -rf $RPM_BUILD_ROOT
-echo y | %{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+echo y | %py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-biopython.git/commitdiff/9c136950bfce7cd257563dced484d5860d73c6ca
More information about the pld-cvs-commit
mailing list