commit 16339572c2680477b492a98e7160284ca9831f7d
Author: Jacek Konieczny <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to