1 |
< |
### RPM external boost 1.31.0 |
1 |
> |
### RPM external boost 1.32.0 |
2 |
|
# Patches and build fudging by Lassi A. Tuura <lat@iki.fi> (FIXME: contribute to boost) |
3 |
|
# define boostver -%v <-- for 1.30.2 |
4 |
|
%define boostver _%(echo %v | tr . _) |
5 |
|
Requires: boost-build python |
6 |
< |
Source: ftp://dl.sourceforge.net/pub/sourceforge/b/bo/%n/%{n}%{boostver}.tar.bz2 |
7 |
< |
Patch: boost |
6 |
> |
Source: http://dl.sourceforge.net/sourceforge/%n/%{n}%{boostver}.tar.gz |
7 |
> |
#Patch: boost |
8 |
|
|
9 |
|
%prep |
10 |
|
%setup -n %{n}%{boostver} |
11 |
< |
%patch |
11 |
> |
#%patch |
12 |
|
|
13 |
|
%build |
14 |
|
# Note that some targets will fail to build (the test programs have |
17 |
|
# RPM falsely detecting a problem. |
18 |
|
PR="PYTHON_ROOT=$PYTHON_ROOT" |
19 |
|
PV="PYTHON_VERSION=$(echo $PYTHON_VERSION | sed 's/\.[0-9]*$//')" |
20 |
– |
|
20 |
|
case $(uname) in |
21 |
|
Darwin ) bjam -s$PR -s$PV -sTOOLS=darwin || true ;; |
22 |
|
* ) bjam -s$PR -s$PV -sTOOLS=gcc ;; |