From 95279ef3c22dcd53b38b2964d18136ff8eccb582 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 03 2016 05:48:49 +0000 Subject: import python-cffi-1.6.0-5.el7 --- diff --git a/.gitignore b/.gitignore index 0537c7c..abe388d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/cffi-0.8.6.tar.gz +SOURCES/cffi-1.6.0.tar.gz diff --git a/.python-cffi.metadata b/.python-cffi.metadata index aafd16e..028b42e 100644 --- a/.python-cffi.metadata +++ b/.python-cffi.metadata @@ -1 +1 @@ -4e82390201e6f30e9df8a91cd176df19b8f2d547 SOURCES/cffi-0.8.6.tar.gz +3161ff5d1e791e86f95de258c93371dff9941c4d SOURCES/cffi-1.6.0.tar.gz diff --git a/SPECS/python-cffi.spec b/SPECS/python-cffi.spec index 542f46a..ba91911 100644 --- a/SPECS/python-cffi.spec +++ b/SPECS/python-cffi.spec @@ -5,16 +5,15 @@ %endif Name: python-cffi -Version: 0.8.6 -Release: 2%{?dist} -Group: Development/Libraries +Version: 1.6.0 +Release: 5%{?dist} Summary: Foreign Function Interface for Python to call C code License: MIT URL: http://cffi.readthedocs.org/ -Source0: http://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz +Source0: https://pypi.io/packages/source/c/cffi/cffi-%{version}.tar.gz BuildRequires: libffi-devel python-sphinx -BuildRequires: python2-devel python-setuptools Cython python-pycparser +BuildRequires: python-devel python-setuptools Cython python-pycparser %if 0%{?with_python3} BuildRequires: python3-devel python3-setuptools python3-Cython python3-pycparser %endif # if with_python3 @@ -33,8 +32,8 @@ based on LuaJIT’s FFI. %if 0%{?with_python3} %package -n python3-cffi Summary: Foreign Function Interface for Python 3 to call C code -Group: Development/Libraries Requires: python3-pycparser +%{?python_provide:%python_provide python3-cffi} %description -n python3-cffi Foreign Function Interface for Python, providing a convenient and @@ -44,7 +43,6 @@ based on LuaJIT’s FFI. %package doc Summary: Documentation for CFFI -Group: Documentation BuildArch: noarch Requires: %{name} = %{version}-%{release} @@ -84,15 +82,19 @@ pushd %{py3dir} %{__python3} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot} popd %endif # with_python3 -%{__python} setup.py install --skip-build --prefix=%{_prefix} --root %{buildroot} +%{__python} setup.py install \ + --skip-build --prefix=%{_prefix} --root %{buildroot} \ + --record %{buildroot}%{python_sitearch}/cffi-%{version}-py2.7.egg-info/installed-files.txt %files -%doc LICENSE PKG-INFO +%doc PKG-INFO +%license LICENSE %{python_sitearch}/* %if 0%{?with_python3} %files -n python3-cffi -%doc LICENSE PKG-INFO +%doc PKG-INFO +%license LICENSE %{python3_sitearch}/* %endif # with_python3 @@ -100,7 +102,55 @@ popd %doc doc/build/html %changelog -* Tue Jun 16 2015 Nathaniel McCallum - 0.8.6-2 +* Tue Aug 09 2016 Nathaniel McCallum - 1.6.0-5 +- Record installed files (#1255206) + +* Tue May 03 2016 Nathaniel McCallum - 1.6.0-4 +- Import from Fedora +- Migrate python2-cffi => python-cffi + +* Thu Apr 28 2016 John Dulaney - 1.6.0-3 +- Switch Source0 to using pypi.io + +* Thu Apr 28 2016 John Dulaney - 1.6.0-2 +- Update Source0 URL to account for pypi change + +* Thu Apr 21 2016 John Dulaney - 1.6.0-1 +- Update to 1.6.0 (#1329203) + +* Mon Feb 15 2016 John Dulaney - 1.5.2-1 +- Update to 1.5.2 (#1299272) + +* Thu Feb 04 2016 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jan 18 2016 Nathaniel McCallum - 1.5.0-1 +- Update to 1.5.0 (#1299272) + +* Mon Jan 11 2016 Nathaniel McCallum - 1.4.2-2 +- Move python-cffi => python2-cffi + +* Tue Dec 22 2015 John Dulaney - 1.4.2-1 +- Update to 1.4.2 (#1293504) + +* Thu Dec 17 2015 John Dulaney - 1.4.1-1 +- Update to latest upstream release + +* Fri Dec 11 2015 John Dulaney - 1.3.1-1 +- Update to latest upstream release + +* Tue Oct 13 2015 Robert Kuska - 1.1.2-4 +- Rebuilt for Python3.5 rebuild + +* Wed Jul 15 2015 Parag Nemade - 1.1.2-3 +- Modernize spec file +- add missing source + +* Thu Jun 18 2015 Fedora Release Engineering - 1.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 16 2015 Nathaniel McCallum - 1.1.2-2 +- Update to 1.1.2 - Fix license * Tue Aug 19 2014 Eric Smith 0.8.6-1