Summary(pl.UTF-8): PyICU - rozszerzenie Pythona 2 obudowujące API C++ biblioteki ICU firmy IBM
Name: python-pyicu
Version: 1.8
-Release: 5
+Release: 6
License: MIT-like
Group: Development/Languages/Python
Source0: https://pypi.python.org/packages/source/P/PyICU/PyICU-%{version}.tar.gz
%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
rm -rf $RPM_BUILD_ROOT
%if %{with python2}
-%{__python} setup.py build \
+%py_build \
--build-base build-2 \
install \
--skip-build \
%endif
%if %{with python3}
-%{__python3} setup.py build \
+%py3_build \
--build-base build-3 \
install \
--skip-build \