| |
@@ -4,9 +4,9 @@
|
| |
%bcond_without tests
|
| |
|
| |
Name: Cython
|
| |
- Version: 0.29.13
|
| |
+ Version: 0.29.14
|
| |
%global upver %{version_no_tilde %{nil}}
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Language for writing Python extension modules
|
| |
|
| |
License: ASL 2.0
|
| |
@@ -24,16 +24,6 @@
|
| |
|
| |
%description %{_description}
|
| |
|
| |
- %package -n python2-%{srcname}
|
| |
- Summary: %{summary}
|
| |
- %{?python_provide:%python_provide python2-%{srcname}}
|
| |
- BuildRequires: python2-devel
|
| |
- BuildRequires: python2-setuptools
|
| |
-
|
| |
- %description -n python2-%{srcname} %{_description}
|
| |
-
|
| |
- Python 2 version.
|
| |
-
|
| |
%package -n python3-%{srcname}
|
| |
Summary: %{summary}
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
@@ -66,7 +56,6 @@
|
| |
%autosetup -n %{upname}-%{upver} -p1
|
| |
|
| |
%build
|
| |
- %py2_build
|
| |
%py3_build
|
| |
|
| |
# emacs-cython-mode build
|
| |
@@ -77,10 +66,6 @@
|
| |
|
| |
|
| |
%install
|
| |
- %py2_install
|
| |
- rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests
|
| |
- rm %{buildroot}%{_bindir}/*
|
| |
-
|
| |
%py3_install
|
| |
rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
|
| |
|
| |
@@ -93,27 +78,13 @@
|
| |
|
| |
%if %{with tests}
|
| |
%check
|
| |
- for python in %{__python2} %{__python3}; do
|
| |
-
|
| |
- $python runtests.py -vv --no-pyregr %{?_smp_mflags} \
|
| |
- %ifarch s390x ppc64
|
| |
- --exclude numpy_subarray # https://github.com/cython/cython/issues/1982
|
| |
- %endif
|
| |
+ %{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \
|
| |
%ifarch %{ix86}
|
| |
--exclude run.parallel # https://github.com/cython/cython/issues/2807
|
| |
%endif
|
| |
|
| |
- done
|
| |
%endif
|
| |
|
| |
- %files -n python2-%{srcname}
|
| |
- %license LICENSE.txt
|
| |
- %doc *.txt Demos Doc Tools
|
| |
- %{python2_sitearch}/%{srcname}-*.egg-info/
|
| |
- %{python2_sitearch}/%{srcname}/
|
| |
- %{python2_sitearch}/pyximport/
|
| |
- %{python2_sitearch}/%{upname}.py*
|
| |
-
|
| |
%files -n python3-%{srcname}
|
| |
%license LICENSE.txt
|
| |
%doc *.txt Demos Doc Tools
|
| |
@@ -132,6 +103,10 @@
|
| |
%{_emacs_sitestartdir}/cython*.el*
|
| |
|
| |
%changelog
|
| |
+ * Mon Nov 04 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.14-1
|
| |
+ - Update to 0.29.14 (#1768034)
|
| |
+ - Python 2 subpackage has been removed
|
| |
+
|
| |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.13-5
|
| |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
| |
|
| |
https://bugzilla.redhat.com/show_bug.cgi?id=1768034