|
|
|
@ -26,7 +26,6 @@
|
|
|
|
|
# versions of individual parts |
|
|
|
|
%define V_alias 2.32 |
|
|
|
|
%define V_inline 0.43 |
|
|
|
|
%define V_bit_vector 6.1 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: perl-util |
|
|
|
@ -43,7 +42,6 @@ Release: 20020515
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/Alias/Alias-%{V_alias}.tar.gz |
|
|
|
|
Source1: http://www.cpan.org/modules/by-module/Inline/Inline-%{V_inline}.tar.gz |
|
|
|
|
Source2: http://www.cpan.org/modules/by-module/Bit/Bit-Vector-%{V_bit_vector}.tar.gz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
@ -66,7 +64,6 @@ AutoReqProv: no
|
|
|
|
|
%prep |
|
|
|
|
%setup0 -q -c -n %{name}-%{version} |
|
|
|
|
%setup1 -q -T -D -a 1 |
|
|
|
|
%setup2 -q -T -D -a 2 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
@ -88,7 +85,7 @@ AutoReqProv: no
|
|
|
|
|
chmod a+x $perl |
|
|
|
|
|
|
|
|
|
# uncompress and build modules |
|
|
|
|
for mod in %{SOURCE0} %{SOURCE1} %{SOURCE2}; do |
|
|
|
|
for mod in %{SOURCE0} %{SOURCE1}; do |
|
|
|
|
dir=`echo "$mod" | sed -e 's;^.*/\([^/]*\)\.tar\.gz$;\1;'` |
|
|
|
|
cd $dir |
|
|
|
|
chmod -R u+rw . |
|
|
|
|