]> git.pld-linux.org Git - packages/python-cffi.git/commitdiff
fix install auto/th/python-cffi-1.2.1-4
authorJacek Konieczny <jajcus@jajcus.net>
Mon, 30 Nov 2015 19:01:00 +0000 (20:01 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Mon, 30 Nov 2015 19:01:00 +0000 (20:01 +0100)
Release: 4

python-cffi.spec

index 72d976c29173b30b5fea47b3dd112d804c947f43..f8be25d5b639887fc148567e6a3a6e922fbfc0b0 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Foreign Function Interface for Python 2 calling C code
 Summary(pl.UTF-8):     Interfejs funkcji obcych (FFI) dla Pythona 2 wywołującego kod w C
 Name:          python-cffi
 Version:       1.2.1
-Release:       3
+Release:       4
 License:       MIT
 Group:         Libraries/Python
 #Source0Download: https://pypi.python.org/pypi/cffi
@@ -74,12 +74,10 @@ Ten pakiet zawiera moduł Pythona 3.
 
 %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}
@@ -90,23 +88,13 @@ Ten pakiet zawiera moduł Pythona 3.
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py \
-       build \
-               --build-base build-2 \
-       install \
-               --root=$RPM_BUILD_ROOT \
-               --optimize=2
+%py_install
 
 %py_postclean
 %endif
 
 %if %{with python3}
-%{__python3} setup.py \
-       build \
-               --build-base build-3 \
-       install \
-               --root=$RPM_BUILD_ROOT \
-               --optimize=2
+%py3_install
 %endif
 
 %clean
This page took 0.270711 seconds and 4 git commands to generate.