]> git.pld-linux.org Git - packages/python-py.git/commitdiff
fix install auto/th/python-py-1.4.31-1
authorJacek Konieczny <jajcus@jajcus.net>
Mon, 30 Nov 2015 19:31:23 +0000 (20:31 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Mon, 30 Nov 2015 19:31:23 +0000 (20:31 +0100)
python-py.spec

index 4dd42f19b40e1f02cd4b09c6b97b7afc1c934346..fa49ead9ceea19b1ff01942f294068355fe69ec4 100644 (file)
@@ -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
This page took 0.08776 seconds and 4 git commands to generate.