]> git.pld-linux.org Git - packages/python-Cython.git/blobdiff - python-Cython.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-Cython.git] / python-Cython.spec
index 33a827cb070a8c642e0f786ad4a44b6e7ee2bd16..ad6b8c42f0700fc43d06884468b50a479d65e89f 100644 (file)
@@ -8,23 +8,25 @@
 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.21.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: c59163d7c72c0a0ee5eb84edd17935ed
+# 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
+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 +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
 
This page took 0.078109 seconds and 4 git commands to generate.