Skip to content

Commit

Permalink
Cython 3.0 alpha: use pre-release to support python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 19, 2022
1 parent 165728c commit 58ef3e0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packaging/rpm/python3-Cython.spec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
%define _disable_source_fetch 0

Name: python3-Cython
Version: 0.29.32
Version: 3.0.0a11
Release: 1%{?dist}
Summary: A language for writing Python extension modules
Group: Development/Tools
License: Python
URL: http://www.cython.org
Source0: https://files.pythonhosted.org/packages/4c/76/1e41fbb365ad20b6efab2e61b0f4751518444c953b390f9b2d36cf97eea0/Cython-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/2e/a7/f20fa91d9de799f8e19bacf225bc993b8a53b5fc6f41ffa20d64f0850579/Cython-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python3

Expand All @@ -21,7 +21,7 @@ for writing Python extension modules.

%prep
sha256=`sha256sum %{SOURCE0} | awk '{print $1}'`
if [ "${sha256}" != "8733cf4758b79304f2a4e39ebfac5e92341bce47bcceb26c1254398b2f8c1af7" ]; then
if [ "${sha256}" != "e4672491fb31546b9abb63677f638e738085dc9321398170956ef6fbfc0e1726" ]; then
echo "invalid checksum for %{SOURCE0}"
exit 1
fi
Expand Down Expand Up @@ -52,6 +52,9 @@ rm -rf %{buildroot}
%doc *.txt Demos Tools

%changelog
* Mon Sep 19 2022 Antoine Martin <[email protected]> 3.0.0a11-1
- switch to 3.0 branch to support python 3.11

* Wed May 18 2022 Antoine Martin <[email protected]> 0.29.30-1
- new upstream release

Expand Down

0 comments on commit 58ef3e0

Please sign in to comment.