Fix broken condtionals in spec.
This commit is contained in:
parent
5d8468952e
commit
f1d8e768d0
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 0.6
|
Version: 0.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Foreign Function Interface for Python to call C code
|
Summary: Foreign Function Interface for Python to call C code
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -51,7 +51,7 @@ Documentation for CFFI, the Foreign Function Interface for Python.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n cffi-%{version}
|
%setup -q -n cffi-%{version}
|
||||||
|
|
||||||
%if 0%{with_python3}
|
%if 0%{?with_python3}
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
@ -87,7 +87,7 @@ popd
|
|||||||
%doc LICENSE PKG-INFO
|
%doc LICENSE PKG-INFO
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%if 0%{with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-cffi
|
%files -n python3-cffi
|
||||||
%doc LICENSE PKG-INFO
|
%doc LICENSE PKG-INFO
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
@ -97,6 +97,9 @@ popd
|
|||||||
%doc doc/build/html
|
%doc doc/build/html
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 23 2013 Eric Smith <brouhaha@fedoraproject.org> 0.6-3
|
||||||
- Add Python3 support.
|
- Add Python3 support.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user