Add Require of python{,3}-pycparser (#996436).

This commit is contained in:
Eric Smith 2013-08-13 10:39:04 -06:00
parent f1d8e768d0
commit 8dba9dfe92

View File

@ -6,7 +6,7 @@
Name: python-cffi
Version: 0.6
Release: 4%{?dist}
Release: 5%{?dist}
Group: Development/Libraries
Summary: Foreign Function Interface for Python to call C code
License: BSD
@ -19,6 +19,8 @@ BuildRequires: python2-devel python-setuptools Cython python-pycparser
BuildRequires: python3-devel python3-setuptools python3-Cython python3-pycparser
%endif # if with_python3
Requires: python-pycparser
# Do not check .so files in the python_sitelib directory
# or any files in the application's directory for provides
%global __provides_exclude_from ^(%{python_sitearch}|%{python3_sitearch})/.*\\.so$
@ -32,6 +34,7 @@ based on LuaJITs FFI.
%package -n python3-cffi
Summary: Foreign Function Interface for Python 3 to call C code
Group: Development/Libraries
Requires: python3-pycparser
%description -n python3-cffi
Foreign Function Interface for Python, providing a convenient and
@ -97,6 +100,9 @@ popd
%doc doc/build/html
%changelog
* Tue Aug 13 2013 Eric Smith <brouhaha@fedoraproject.org> 0.6-5
- Add Requires of python{,3}-pycparser.
* Thu Jul 25 2013 Eric Smith <brouhaha@fedoraproject.org> 0.6-4
- Fix broken conditionals in spec (missing question marks), needed for el6.