X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-Cython.git;a=blobdiff_plain;f=python-Cython.spec;h=ad6b8c42f0700fc43d06884468b50a479d65e89f;hp=e141590ba6cb9fd8e3f5f01b4117e116a58ab675;hb=aff1366;hpb=996477ad9fcb15d357587768358cfb95eacc4412 diff --git a/python-Cython.spec b/python-Cython.spec index e141590..ad6b8c4 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -8,13 +8,14 @@ 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.23.1 -Release: 1 +Version: 0.23.4 +Release: 2 License: Apache v2.0 Group: Libraries/Python Source0: http://cython.org/release/%{module}-%{version}.tar.gz -# Source0-md5: db3c5b365e1c3f71c7cd90e96473a3ab +# Source0-md5: 157df1f69bcec6b56fd97e0f2e057f6e URL: http://cython.org/ +BuildRequires: rpmbuild(macros) >= 1.710 %if %{with python2} BuildRequires: python >= 1:2.6 BuildRequires: python-devel >= 1:2.6 @@ -84,16 +85,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