|
|
@@ -35,6 +35,7 @@
|
|
|
%define V_tree_simple 1.01
|
|
|
%define V_tree_trie 1.0
|
|
|
%define V_tree_bptree 1.06
|
|
|
+%define V_math_bigint 1.70
|
|
|
|
|
|
# package information
|
|
|
Name: perl-ds
|
|
|
@@ -60,6 +61,7 @@ Source6: http://www.cpan.org/modules/by-module/Tree/Tree-Nary-%{V_tree_nary
|
|
|
Source7: http://www.cpan.org/modules/by-module/Tree/Tree-Simple-%{V_tree_simple}.tar.gz
|
|
|
Source8: http://www.cpan.org/modules/by-module/Tree/Tree-Trie-%{V_tree_trie}.tar.gz
|
|
|
Source9: http://www.cpan.org/modules/by-module/Tree/Tree-BPTree-%{V_tree_bptree}.tar.gz
|
|
|
+Source10: http://www.cpan.org/authors/id/T/TE/TELS/math/Math-BigInt-%{V_math_bigint}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -81,6 +83,7 @@ AutoReqProv: no
|
|
|
- Tree::Simple (%{V_tree_simple})
|
|
|
- Tree::Trie (%{V_tree_trie})
|
|
|
- Tree::BPTree (%{V_tree_bptree})
|
|
|
+ - Math::BigInt (%{V_math_bigint})
|
|
|
|
|
|
%track
|
|
|
prog perl-ds:Bit-Vector = {
|
|
|
@@ -134,6 +137,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Tree/
|
|
|
regex = Tree-BPTree-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-ds:Math-BigInt = {
|
|
|
+ version = %{V_math_bigint}
|
|
|
+ url = http://www.cpan.org/authors/id/T/TE/TELS/math/
|
|
|
+ regex = Math-BigInt-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -146,6 +154,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 7
|
|
|
%setup -q -T -D -a 8
|
|
|
%setup -q -T -D -a 9
|
|
|
+ %setup -q -T -D -a 10
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -161,6 +170,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|