diff --git a/cffi-1.11.5.tar.gz b/cffi-1.11.5.tar.gz deleted file mode 100644 index 9c4fa7faf7f69318cb43ce428aeeb48a08b120fd..0000000000000000000000000000000000000000 Binary files a/cffi-1.11.5.tar.gz and /dev/null differ diff --git a/cffi-1.14.0.tar.gz b/cffi-1.14.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..db09897d1f8bda010102b8c83d1cd753882f7305 Binary files /dev/null and b/cffi-1.14.0.tar.gz differ diff --git a/potential-fix-for-Py-3.8.patch b/potential-fix-for-Py-3.8.patch index bef87501c287a03e94e12b2daaeb5ac25e83c8c0..d6e1b7b801935d5de9bc89c3629ed92a1ea37af1 100644 --- a/potential-fix-for-Py-3.8.patch +++ b/potential-fix-for-Py-3.8.patch @@ -1,13 +1,20 @@ -diff -Naur a/c/call_python.c b/c/call_python.c ---- a/c/call_python.c 2020-06-18 15:00:52.843000000 +0800 -+++ b/c/call_python.c 2020-06-18 15:05:11.254000000 +0800 -@@ -1,3 +1,9 @@ -+#if PY_VERSION_HEX >= 0x03080000 +diff --git a/c/call_python.c b/c/call_python.c +index d3d2e17..d291eb3 100644 +--- a/c/call_python.c ++++ b/c/call_python.c +@@ -1,8 +1,10 @@ + #if PY_VERSION_HEX >= 0x03080000 +-# define HAVE_PYINTERPSTATE_GETDICT +# define Py_BUILD_CORE +/* for access to the fields of PyInterpreterState */ +# include "internal/pycore_pystate.h" +# undef Py_BUILD_CORE -+#endif + #endif - static PyObject *_get_interpstate_dict(void) +- + static PyObject *_current_interp_key(void) { + PyInterpreterState *interp = PyThreadState_GET()->interp; +-- +2.23.0 + diff --git a/python-cffi.spec b/python-cffi.spec index 7a47e2be6580267dbe2d252586cf3cfb98fa0b9a..f09f66cc3d15c2dfb7802ad57c3d1ccee8e7bfc6 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -5,8 +5,8 @@ C Foreign Function Interface for Python. Interact with almost any C code from Py based on C-like declarations that you can often copy-paste from header files or documentation. Name: python-%{_name} -Version: 1.11.5 -Release: 11 +Version: 1.14.0 +Release: 1 Summary: %{_summary} License: MIT URL: http://cffi.readthedocs.org @@ -70,6 +70,12 @@ Buildrequires: python3-devel python3-pycparser python3-pytest python3-setuptool %doc PKG-INFO README.md %changelog +* Thu Jul 23 2020 dingyue - 1.14.0-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:NA + * Thu Jun 18 2020 gaochao - 1.11.5-11 - Type:enhancement - ID:NA