| |
@@ -5,14 +5,13 @@
|
| |
%bcond_with tests
|
| |
|
| |
Name: Cython
|
| |
- %global upver 0.29rc2
|
| |
- Version: 0.29~rc2
|
| |
+ Version: 0.29
|
| |
Release: 1%{?dist}
|
| |
Summary: Language for writing Python extension modules
|
| |
|
| |
License: ASL 2.0
|
| |
URL: http://www.cython.org
|
| |
- Source: https://github.com/cython/cython/archive/%{upver}/%{srcname}-%{version}.tar.gz
|
| |
+ Source: https://github.com/cython/cython/archive/%{version}/%{srcname}-%{version}.tar.gz
|
| |
|
| |
BuildRequires: gcc
|
| |
%if %{with tests}
|
| |
@@ -28,9 +27,6 @@
|
| |
%package -n python2-%{srcname}
|
| |
Summary: %{summary}
|
| |
%{?python_provide:%python_provide python2-%{srcname}}
|
| |
- Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
- Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
- Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
BuildRequires: python2-devel
|
| |
BuildRequires: python2-setuptools
|
| |
%if %{with tests}
|
| |
@@ -47,6 +43,9 @@
|
| |
Summary: %{summary}
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
Conflicts: python2-%{srcname} < 0.28.4-2
|
| |
+ Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
+ Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
+ Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: python3-setuptools
|
| |
%if %{with tests}
|
| |
@@ -60,7 +59,7 @@
|
| |
Python 3 version.
|
| |
|
| |
%prep
|
| |
- %autosetup -n %{upname}-%{upver} -p1
|
| |
+ %autosetup -n %{upname}-%{version} -p1
|
| |
|
| |
%build
|
| |
%py2_build
|
| |
@@ -102,6 +101,10 @@
|
| |
%{python3_sitearch}/__pycache__/%{upname}.*
|
| |
|
| |
%changelog
|
| |
+ * Tue Nov 13 2018 Petr Viktorin <pviktori@redhat.com> - 0.29-1
|
| |
+ - Provide "Cython" from the python3 package, which contains the cython binary
|
| |
+ - Update to 0.29
|
| |
+
|
| |
* Wed Oct 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29~rc2-1
|
| |
- Update to 0.29~rc2
|
| |
|
| |
When I install
Cython
, I expect to get the /usr/bin/cython command.