Mercurial > libpst
diff libpst.spec.in @ 224:d9ba8fa961e7
fix ax_python as done in libtorrent
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 23 Jun 2009 16:08:39 -0700 |
parents | 06d759f640f6 |
children | 9859474779da |
line wrap: on
line diff
--- a/libpst.spec.in Tue Jun 23 15:15:55 2009 -0700 +++ b/libpst.spec.in Tue Jun 23 16:08:39 2009 -0700 @@ -9,15 +9,7 @@ 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 -%if 0%{?fedora} > 10 -BuildRequires: boost-python-devel -%else -BuildRequires: boost-devel -%endif - - +BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel python-devel boost-devel %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}