diff --git a/cffi-1.13.2.tar.gz b/cffi-1.13.2.tar.gz deleted file mode 100644 index 5ad64e0..0000000 --- a/cffi-1.13.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346 -size 460243 diff --git a/cffi-1.14.0.tar.gz b/cffi-1.14.0.tar.gz new file mode 100644 index 0000000..14a8a6b --- /dev/null +++ b/cffi-1.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d384f4a127a15ba701207f7639d94106693b6cd64173d6c8988e2c25f3ac2b6 +size 463065 diff --git a/python-cffi.changes b/python-cffi.changes index 0025427..cf9ed5e 100644 --- a/python-cffi.changes +++ b/python-cffi.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Feb 24 14:58:25 UTC 2020 - Ondřej Súkup + +- Update to 1.14.0 + * ffi.dlopen() can now be called with a handle (as a void *) to an already-opened C library. + * fixed a stack overflow issue for calls like lib.myfunc([large list]). + * fixed a memory leak inside ffi.getwinerror() on CPython 3.x. + ------------------------------------------------------------------- Mon Nov 18 20:21:04 UTC 2019 - Todd R diff --git a/python-cffi.spec b/python-cffi.spec index 78d37e5..8f1f175 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -1,7 +1,7 @@ # # spec file for package python-cffi # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,11 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cffi -Version: 1.13.2 +Version: 1.14.0 Release: 0 Summary: Foreign Function Interface for Python calling C code License: MIT -Group: Development/Languages/Python -URL: http://cffi.readthedocs.org +URL: https://cffi.readthedocs.org Source0: https://files.pythonhosted.org/packages/source/c/cffi/cffi-%{version}.tar.gz Source1: python-cffi-rpmlintrc BuildRequires: %{python_module devel} @@ -54,9 +53,7 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -py.test-%$python_bin_suffix -v -W ignore::UserWarning c/ testing/ -} +%pytest_arch -W ignore::UserWarning c/ testing/ %files %{python_files} %license LICENSE