1 |
< |
### RPM external libxml2 2.6.23 |
2 |
< |
Requires: gcc-wrapper |
3 |
< |
Source: ftp://xmlsoft.org/%n/%n-%v.tar.gz |
1 |
> |
### RPM external libxml2 2.6.23-CMS18 |
2 |
> |
Source: ftp://xmlsoft.org/%n/%n-%realversion.tar.gz |
3 |
> |
|
4 |
> |
%if "%{?online_release:set}" != "set" |
5 |
|
Requires: zlib |
6 |
+ |
%endif |
7 |
|
|
8 |
+ |
%prep |
9 |
+ |
%setup -n %n-%realversion |
10 |
|
%build |
11 |
< |
## IMPORT gcc-wrapper |
12 |
< |
./configure --prefix=%i --with-zlib=$ZLIB_ROOT |
11 |
> |
%if "%{?online_release:set}" != "set" |
12 |
> |
./configure --prefix=%i --with-zlib=$ZLIB_ROOT --without-python |
13 |
> |
%else |
14 |
> |
./configure --prefix=%i --with-zlib=/usr --without-python |
15 |
> |
%endif |
16 |
|
make %makeprocesses |