From 8dba9dfe920a1f1e099f3a4fb229b56fb911a01c Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Tue, 13 Aug 2013 10:39:04 -0600 Subject: [PATCH] Add Require of python{,3}-pycparser (#996436). --- python-cffi.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-cffi.spec b/python-cffi.spec index ee06caf..3fa5ba8 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -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 LuaJIT’s 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 0.6-5 +- Add Requires of python{,3}-pycparser. + * Thu Jul 25 2013 Eric Smith 0.6-4 - Fix broken conditionals in spec (missing question marks), needed for el6.