]> git.pld-linux.org Git - packages/python-Cython.git/blobdiff - python-Cython.spec
rebuild with separate debuginfo build-ids
[packages/python-Cython.git] / python-Cython.spec
index 4e760c40033c26ae7f25c0c27f1aaa4bc74ddbfe..d72c71695a893f88cc2f4ea20bab7c967c277c9c 100644 (file)
 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.28.4
-Release:       1
+Version:       0.29.21
+Release:       3
 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: fa01ba71b1e3136b0f12e3ed8958ea02
+# Source0-md5: 12c5e45af71dcc6dff28cdcbcbef6f39
+Patch0:                %{name}-sphinx.patch
 URL:           http://cython.org/
-BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: rpmbuild(macros) >= 1.714
 %if %{with python2}
 BuildRequires: python >= 1:2.6
 BuildRequires: python-devel >= 1:2.6
@@ -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
 
This page took 0.070314 seconds and 4 git commands to generate.