X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=python-Cython.spec;h=912c351150f9f4ecdba74ad467afab31b23caf6e;hb=555899429cd2f5574e271881795284a9fdc4b64f;hp=f4bf240d6978e63bf64f7b298a3577de73e01ceb;hpb=f4773c56492ca89ebc8481b1a36b1fa777395103;p=packages%2Fpython-Cython.git diff --git a/python-Cython.spec b/python-Cython.spec index f4bf240..912c351 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -8,23 +8,24 @@ Summary: Language for writing Python Extension Modules (Python 2.x version) Summary(pl.UTF-8): Język służący do pisania modułów rozszerzających Pythona (wersja dla Pythona 2.x) Name: python-%{module} -Version: 0.22 +Version: 0.23.4 Release: 2 License: Apache v2.0 Group: Libraries/Python Source0: http://cython.org/release/%{module}-%{version}.tar.gz -# Source0-md5: 1ae25add4ef7b63ee9b4af697300d6b6 +# Source0-md5: 157df1f69bcec6b56fd97e0f2e057f6e URL: http://cython.org/ %if %{with python2} BuildRequires: python >= 1:2.6 BuildRequires: python-devel >= 1:2.6 +BuildRequires: python-setuptools %endif %if %{with python3} BuildRequires: python3 >= 1:3.2 BuildRequires: python3-2to3 >= 1:3.2 BuildRequires: python3-devel >= 1:3.2 -BuildRequires: python3-distribute BuildRequires: python3-modules >= 1:3.2 +BuildRequires: python3-setuptools %endif BuildRequires: rpm-pythonprov Requires: python-devel >= 1:2.6 @@ -83,16 +84,12 @@ Pakiet zawierający przykładowe programy napisane w języku Cython. %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