Mercurial > libpst
diff libpst.spec.in @ 217:5d0358f94031
fedora > 10 moved to boost-python-devel
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 21 Jun 2009 19:35:17 -0700 |
parents | fef2214083a4 |
children | a43d58f1d0dd |
line wrap: on
line diff
--- a/libpst.spec.in Sun Jun 21 18:05:50 2009 -0700 +++ b/libpst.spec.in Sun Jun 21 19:35:17 2009 -0700 @@ -9,7 +9,14 @@ URL: http://www.five-ten-sg.com/%{name}/ Requires: ImageMagick Requires: %{name}-libs = %{version}-%{release} -BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel python-devel boost-devel + +BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel python-devel +%if 0%{?fedora} > 10 + BuildRequires: boost-python-devel +%else + BuildRequires: boost-devel +%endif + %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}