]> git.pld-linux.org Git - packages/python-pyicu.git/blobdiff - python-pyicu.spec
- release 7 (by relup.sh)
[packages/python-pyicu.git] / python-pyicu.spec
index 693d971fdf02a5b70fcec108a3e23ff3ad5926a1..90f3d37f566d04ef5a24af88b92da98254355396 100644 (file)
@@ -7,7 +7,7 @@ Summary:        PyICU - Python 2 extension wrapping IBM's ICU C++ API
 Summary(pl.UTF-8):     PyICU - rozszerzenie Pythona 2 obudowujące API C++ biblioteki ICU firmy IBM
 Name:          python-pyicu
 Version:       1.8
-Release:       6
+Release:       7
 License:       MIT-like
 Group:         Development/Languages/Python
 Source0:       https://pypi.python.org/packages/source/P/PyICU/PyICU-%{version}.tar.gz
@@ -59,16 +59,12 @@ Ten pakiet zawiera moduł Pythona 3.
 
 %build
 %if %{with python2}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build \
+%py_build \
        --build-base build-2
 %endif
 
 %if %{with python3}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python3} setup.py build \
+%py3_build \
        --build-base build-3
 %endif
 
@@ -76,7 +72,7 @@ CFLAGS="%{rpmcflags}" \
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py build \
+%py_build \
                --build-base build-2 \
        install \
                --skip-build \
@@ -87,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build \
+%py3_build \
                --build-base build-3 \
        install \
                --skip-build \
This page took 0.07028 seconds and 4 git commands to generate.