|
|
@@ -55,6 +55,7 @@
|
|
|
%define V_list_moreutils 0.21
|
|
|
%define V_heap 0.80
|
|
|
%define V_graph 0.84
|
|
|
+%define V_algorithm_permute 0.08
|
|
|
|
|
|
# package information
|
|
|
Name: perl-ds
|
|
|
@@ -67,7 +68,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20071224
|
|
|
+Release: 20071227
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Bit/Bit-Vector-%{V_bit_vector}.tar.gz
|
|
|
@@ -101,6 +102,7 @@ Source27: http://www.cpan.org/modules/by-module/Tree/Tree-Simple-VisitorFact
|
|
|
Source28: http://www.cpan.org/modules/by-module/Tree/Tree-%{V_tree}.tar.gz
|
|
|
Source29: http://www.cpan.org/modules/by-module/Tie/Tie-Persistent-%{V_tie_persistent}.tar.gz
|
|
|
Source30: http://www.cpan.org/modules/by-module/Array/Array-Compare-%{V_array_compare}.tar.gz
|
|
|
+Source31: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Permute-%{V_algorithm_permute}.tar.gz
|
|
|
Patch0: perl-ds.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -147,6 +149,7 @@ AutoReqProv: no
|
|
|
- Heap::Heap (%{V_heap})
|
|
|
- Graph::Graph (%{V_graph})
|
|
|
- Tie::Persistent (%{V_tie_persistent})
|
|
|
+ - Algorithm::Permute (%{V_algorithm_permute})
|
|
|
|
|
|
%track
|
|
|
prog perl-ds:Bit-Vector = {
|
|
|
@@ -305,6 +308,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Tie/
|
|
|
regex = Tie-Persistent-(\d+\.\d{2})\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-ds:Algorithm-Permute = {
|
|
|
+ version = %{V_algorithm_permute}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Algorithm/
|
|
|
+ regex = Algorithm-Permute-(\d+\.\d{2})\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -338,6 +346,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 28
|
|
|
%setup -q -T -D -a 29
|
|
|
%setup -q -T -D -a 30
|
|
|
+ %setup -q -T -D -a 31
|
|
|
%patch -p0
|
|
|
|
|
|
%build
|
|
|
@@ -376,6 +385,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} 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`
|
|
|
|