Summary(pl.UTF-8): Zbiór ładnych dekoratorów dla Pythona 2
Name: python-%{module}
Version: 3.4.0
-Release: 6
+Release: 7
License: BSD
Group: Libraries/Python
Source0: https://pypi.python.org/packages/source/d/decorator/%{module}-%{version}.tar.gz
%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
%install
rm -rf $RPM_BUILD_ROOT
%if %{with python2}
-%{__python} setup.py \
- build \
- --build-base build-2 \
- install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
%endif
%if %{with python3}
-%{__python3} setup.py \
- build \
- --build-base build-3 \
- install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py3_install
%endif
%clean