1 |
< |
### RPM external p5-xml-parser 2.34-CMS3 |
1 |
> |
### RPM external p5-xml-parser 2.34-CMS18 |
2 |
|
## INITENV +PATH PERL5LIB %i/lib/site_perl/%perlversion |
3 |
|
%define perlversion %(perl -e 'printf "%%vd", $^V') |
4 |
|
%define perlarch %(perl -MConfig -e 'print $Config{archname}') |
6 |
|
%define expatversion 2.0.0 |
7 |
|
Source0: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/M/MS/MSERGEANT/%{downloadn}-%{realversion}.tar.gz |
8 |
|
Source1: http://dl.sourceforge.net/sourceforge/expat/expat-%expatversion.tar.gz |
9 |
+ |
Provides: libc.so.6()(64bit) |
10 |
+ |
Provides: libc.so.6(GLIBC_2.2.5)(64bit) |
11 |
+ |
|
12 |
|
%prep |
13 |
|
%setup -T -b 0 -n %{downloadn}-%{realversion} |
14 |
|
%setup -D -T -b 1 -n expat-%expatversion |
21 |
|
rm -rf %_builddir/tmp |
22 |
|
cd ../expat-%expatversion |
23 |
|
mkdir -p %_builddir/tmp |
24 |
< |
./configure --prefix=%_builddir/tmp --disable-shared --enable-static |
24 |
> |
./configure --prefix=%_builddir/tmp --disable-shared --enable-static --with-pic |
25 |
|
make clean |
26 |
|
make |
27 |
|
make install |
58 |
|
EXPATINCPATH=%_builddir/tmp/include |
59 |
|
make |
60 |
|
make install |
61 |
+ |
else |
62 |
+ |
make install |
63 |
|
fi;; |
64 |
|
*) |
65 |
+ |
make install |
66 |
|
;; |
67 |
|
esac |
68 |
|
|