Fix broken condtionals in spec.

This commit is contained in:
Eric Smith 2013-07-25 12:04:53 -06:00
parent 5d8468952e
commit f1d8e768d0

View File

@ -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@fedoraproject.org> 0.6-4
- Fix broken conditionals in spec (missing question marks), needed for el6.
* Tue Jul 23 2013 Eric Smith <brouhaha@fedoraproject.org> 0.6-3
- Add Python3 support.