[packages/python-py] fix install
jajcus
jajcus at pld-linux.org
Mon Nov 30 20:31:49 CET 2015
commit 16339572c2680477b492a98e7160284ca9831f7d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Mon Nov 30 20:31:23 2015 +0100
fix install
python-py.spec | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/python-py.spec b/python-py.spec
index 4dd42f1..fa49ead 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -78,13 +78,11 @@ cp -p %{SOURCE1} doc
%build
%if %{with python2}
-%py_build \
- --build-base build-2
+%py_build
%endif
%if %{with python3}
-%py3_build \
- --build-base build-3
+%py3_build
%endif
%if %{with doc}
@@ -102,13 +100,7 @@ rm -rf $RPM_BUILD_ROOT
%endif
%if %{with python3}
-%{__python3} -- setup.py \
- build --build-base build-3 \
- install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
-
-%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/py/test.py
+%py3_install
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-py.git/commitdiff/16339572c2680477b492a98e7160284ca9831f7d
More information about the pld-cvs-commit
mailing list