- Updated to 1.11.2

- Fix %check
- Great Profit
This commit is contained in:
John Dulaney 2017-10-19 19:31:38 -07:00
parent 33fe1c0e57
commit a45cb54b10
3 changed files with 24 additions and 8 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@
/cffi-1.9.1.tar.gz
/cffi-1.10.0.tar.gz
/cffi-1.11.0.tar.gz
/cffi-1.11.2.tar.gz

View File

@ -3,8 +3,8 @@
%endif
Name: python-cffi
Version: 1.11.0
Release: 2%{?dist}
Version: 1.11.2
Release: 1%{?dist}
Summary: Foreign Function Interface for Python to call C code
License: MIT
URL: http://cffi.readthedocs.org/
@ -12,9 +12,17 @@ Source0: https://pypi.io/packages/source/c/cffi/cffi-%{version}.tar.gz
BuildRequires: libffi-devel python-sphinx
#BuildRequires: python2-pytest python3-pytest
BuildRequires: python2-devel python2-setuptools Cython python-pycparser
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: Cython
BuildRequires: python-pycparser
BuildRequires: python2-pytest
%if 0%{?with_python3}
BuildRequires: python3-devel python3-setuptools python3-Cython python3-pycparser
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-Cython
BuildRequires: python3-pycparser
BuildRequires: python3-pytest
%endif # if with_python3
# Do not check .so files in the python_sitelib directory
@ -70,9 +78,12 @@ cd doc
make html
rm build/html/.buildinfo
#%check
#python setup_base.py build
#PYTHONPATH=build/lib.linux-* py.test c/ testing/
%check
%{__python3} setup_base.py build_ext -f -i
PYTHONPATH=build/lib.linux-* py.test-3 c/ testing/
%{__python2} setup_base.py build_ext -f -i
PYTHONPATH=build/lib.linux-* py.test c/ testing/
# Check is currently failing, re-disabling
%install
@ -99,6 +110,10 @@ rm build/html/.buildinfo
%doc doc/build/html
%changelog
* Thu Oct 19 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.2-1
- New release 1.11.0
- Fix %check
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 1.11.0-2
- Cleanup spec file conditionals

View File

@ -1 +1 @@
SHA512 (cffi-1.11.0.tar.gz) = 907af351de6f45a8d6e34dcd29b17d77425c6c513a1310570dd6e63921f3631946336350b0c3dcdab9f0bb799dfc41aa85ed0e0657c9c310c434c5aa2a7881ac
SHA512 (cffi-1.11.2.tar.gz) = 8ccd8988bb6b4beb760abe5d8cac7cbf65a7dcfad5a535343e5961912751f426fdf6e602a983430e6aa9f56f2f623855b0cfb5ed8e5294a95d122866a4533eda