|
|
@@ -76,6 +76,7 @@
|
|
|
%define V_regexp_parser 0.10
|
|
|
%define V_regexp_shellish 0.93
|
|
|
%define V_contize 0.3
|
|
|
+%define V_memoize 1.01
|
|
|
|
|
|
# package information
|
|
|
Name: perl-util
|
|
|
@@ -88,7 +89,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20041201
|
|
|
+Release: 20041202
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Test/Test-%{V_test}.tar.gz
|
|
|
@@ -142,6 +143,7 @@ Source47: http://www.cpan.org/modules/by-module/Regexp/Regexp-Shellish-%{V_r
|
|
|
Source48: http://www.cpan.org/authors/id/A/AW/AWWAIID/Contize-%{V_contize}.tar.gz
|
|
|
Source49: http://www.cpan.org/modules/by-module/Data/Data-Flow-%{V_data_flow}.tar.gz
|
|
|
Source50: http://www.cpan.org/modules/by-module/Data/Data-Table-%{V_data_table}.tar.gz
|
|
|
+Source51: http://www.cpan.org/authors/id/M/MJ/MJD/Memoize-%{V_memoize}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -204,6 +206,7 @@ AutoReqProv: no
|
|
|
- Regexp::Parser (%{V_regexp_parser})
|
|
|
- Regexp::Shellish (%{V_regexp_shellish})
|
|
|
- Contize (%{V_contize})
|
|
|
+ - Memoize (%{V_memoize})
|
|
|
|
|
|
%track
|
|
|
prog perl-util:Alias = {
|
|
|
@@ -462,6 +465,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/authors/id/A/AW/AWWAIID/
|
|
|
regex = Contize-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-util:Memoize = {
|
|
|
+ version = %{V_memoize}
|
|
|
+ url = http://www.cpan.org/authors/id/M/MJ/MJD/
|
|
|
+ regex = Memoize-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -515,6 +523,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 48
|
|
|
%setup -q -T -D -a 49
|
|
|
%setup -q -T -D -a 50
|
|
|
+ %setup -q -T -D -a 51
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -572,6 +581,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE48} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE49} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE50} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE51} configure build install
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/prove
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|