X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=python-Cython.spec;h=1b09c2c9364080fb37874b70edf1aaf095734225;hb=e8ab6935e9ae48ac9a6217e7a1464ee168d66306;hp=9a7d01328352b426b760173c482c18ff66b867f9;hpb=d38c0db131d0fcc81805f3efca25814e381add79;p=packages%2Fpython-Cython.git diff --git a/python-Cython.spec b/python-Cython.spec index 9a7d013..1b09c2c 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -10,13 +10,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.29.1 -Release: 1 +Version: 0.29.21 +Release: 2 License: Apache v2.0 Group: Libraries/Python #Source0Download: https://pypi.org/simple/cython/ Source0: https://files.pythonhosted.org/packages/source/c/cython/%{module}-%{version}.tar.gz -# Source0-md5: 3cf61c7ef8e5daa47e469cf7ba2e598c +# Source0-md5: 12c5e45af71dcc6dff28cdcbcbef6f39 +Patch0: %{name}-sphinx.patch URL: http://cython.org/ BuildRequires: rpmbuild(macros) >= 1.714 %if %{with python2} @@ -30,7 +31,7 @@ BuildRequires: python3-devel >= 1:3.3 BuildRequires: python3-setuptools %endif BuildRequires: rpm-pythonprov -%{?with_apidocs:BuildRequires: sphinx-pdg} +%{?with_apidocs:BuildRequires: sphinx-pdg-3 >= 1.8} Requires: python-devel >= 1:2.6 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -95,6 +96,7 @@ Pakiet zawierający przykładowe programy napisane w języku Cython. %prep %setup -q -n %{module}-%{version} +%patch0 -p1 %build %if %{with python2} @@ -109,7 +111,8 @@ Pakiet zawierający przykładowe programy napisane w języku Cython. %py3_build %if %{with tests} -%{__python3} runtests.py +%{__python3} runtests.py \ + SPHINXBUILD=sphinx-build-3 %endif %endif