diff --git a/cffi-1.11.5.tar.gz b/cffi-1.11.5.tar.gz deleted file mode 100644 index 9c4fa7f..0000000 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 0000000..db09897 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 bef8750..d6e1b7b 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 7a47e2b..f09f66c 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