[python-cffi] Fix broken condtionals in spec.
Eric Smith
brouhaha at fedoraproject.org
Thu Jul 25 18:05:25 UTC 2013
commit f1d8e768d0e32f34760514aac8ed1beb166e2067
Author: Eric Smith <brouhaha at fedoraproject.org>
Date: Thu Jul 25 12:04:53 2013 -0600
Fix broken condtionals in spec.
python-cffi.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-cffi.spec b/python-cffi.spec
index a9ce47f..ee06caf 100644
--- a/python-cffi.spec
+++ b/python-cffi.spec
@@ -6,7 +6,7 @@
Name: python-cffi
Version: 0.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Development/Libraries
Summary: Foreign Function Interface for Python to call C code
License: BSD
@@ -51,7 +51,7 @@ Documentation for CFFI, the Foreign Function Interface for Python.
%prep
%setup -q -n cffi-%{version}
-%if 0%{with_python3}
+%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
%endif # with_python3
@@ -87,7 +87,7 @@ popd
%doc LICENSE PKG-INFO
%{python_sitearch}/*
-%if 0%{with_python3}
+%if 0%{?with_python3}
%files -n python3-cffi
%doc LICENSE PKG-INFO
%{python3_sitearch}/*
@@ -97,6 +97,9 @@ popd
%doc doc/build/html
%changelog
+* Thu Jul 25 2013 Eric Smith <brouhaha at fedoraproject.org> 0.6-4
+- Fix broken conditionals in spec (missing question marks), needed for el6.
+
* Tue Jul 23 2013 Eric Smith <brouhaha at fedoraproject.org> 0.6-3
- Add Python3 support.
More information about the scm-commits
mailing list