diff --git a/cffi-0.7.2.tar.gz b/cffi-0.7.2.tar.gz deleted file mode 100644 index 1d68f37..0000000 --- a/cffi-0.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b723ab49b48c1604e5a3b5e838b0049eaa61e365408a71e40ba0a42d16472042 -size 175579 diff --git a/cffi-0.8.2.tar.gz b/cffi-0.8.2.tar.gz new file mode 100644 index 0000000..0cf61c1 --- /dev/null +++ b/cffi-0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8192393640f7bc304ce82669b35eb90592566a30abbb4924456f52079afc18e2 +size 197622 diff --git a/python-cffi.changes b/python-cffi.changes index 69028a1..895d90b 100644 --- a/python-cffi.changes +++ b/python-cffi.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Mon May 19 16:35:30 UTC 2014 - jmatejek@suse.com + +- update to 0.8.2 + * minor bugfixes +- remove cffi-pytest-integration.patch as it is no longer necessary + +------------------------------------------------------------------- +Mon Mar 31 14:18:44 UTC 2014 - speilicke@suse.com + +- Require libffi43-devel on SLE_11_SP2 instead of using pkg-config to fix build + +------------------------------------------------------------------- +Mon Feb 24 12:09:15 UTC 2014 - mvyskocil@suse.com + +- update to 0.8.1 + * fixes on Python 3 on OS/X, and some FreeBSD fixes (thanks Tobias) +- added a note wrt disabled tests +- add cffi-pytest-integration.patch: allowinf call pytest from setup.py + +------------------------------------------------------------------- +Mon Nov 18 14:33:39 UTC 2013 - mvyskocil@suse.com + +- update to 0.8 + * integrated support for C99 variable-sized structures + * multi-thread safety + * ffi.getwinerror() + * a number of small fixes + ------------------------------------------------------------------- Thu Oct 24 10:59:45 UTC 2013 - speilicke@suse.com diff --git a/python-cffi.spec b/python-cffi.spec index d1bd7d3..4bb8bed 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -1,7 +1,7 @@ # # spec file for package python-cffi # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,26 @@ Name: python-cffi -Version: 0.7.2 +Version: 0.8.2 Release: 0 Summary: Foreign Function Interface for Python calling C code License: MIT Group: Development/Languages/Python Url: http://cffi.readthedocs.org -Source: http://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz +Source0: http://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools -BuildRequires: pkgconfig(libffi) # Documentation requirements: BuildRequires: python-Sphinx -# Test requirements: -#BuildRequires: python-nose -#BuildRequires: python-py BuildRequires: python-pycparser -#BuildRequires: python-pytest +BuildRequires: python-pytest Requires: python-pycparser BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +BuildRequires: libffi43-devel +%else +BuildRequires: pkgconfig(libffi) %endif %description @@ -55,7 +54,7 @@ python setup.py build_sphinx && rm build/sphinx/html/.buildinfo python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -python setup.py test +PYTHONPATH=%{buildroot}%{python_sitearch} py.test %files %defattr(-,root,root,-)