[packages/python-rpy2] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:42:39 CET 2015
commit 44648c3abfc20e8d34d0172b5db64e53fcc5aca8
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-rpy2.spec | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/python-rpy2.spec b/python-rpy2.spec
index c7c0a0c..97d981e 100644
--- a/python-rpy2.spec
+++ b/python-rpy2.spec
@@ -42,19 +42,18 @@ module installed for the R system can be used from within Python.
%setup -q -n %{module}-%{version}
%build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build --build-base py2
-%{__python3} setup.py build --build-base py3
+%py_build --build-base py2
+%py3_build --build-base py3
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py build \
+%py_build \
--build-base py2 \
install \
--optimize=2 \
--root=$RPM_BUILD_ROOT
-%{__python3} setup.py build \
+%py3_build \
--build-base py3 \
install \
--optimize=2 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-rpy2.git/commitdiff/44648c3abfc20e8d34d0172b5db64e53fcc5aca8
More information about the pld-cvs-commit
mailing list