Forráskód Böngészése

add the cool Scalar::Utils & List::Utils

Ralf S. Engelschall 21 éve
szülő
commit
86db8544d9
1 módosított fájl, 25 hozzáadás és 14 törlés
  1. 25 14
      perl-ds/perl-ds.spec

+ 25 - 14
perl-ds/perl-ds.spec

@@ -24,19 +24,20 @@
 ##
 
 #   package versions
-%define       V_perl            5.8.6
-%define       V_bit_vector      6.4
-%define       V_set_scalar      1.19
-%define       V_io_string       1.06
-%define       V_io_stringy      2.109
-%define       V_tie_ixhash      1.21
-%define       V_tree_dag_node   1.04
-%define       V_tree_nary       1.3
-%define       V_tree_simple     1.14
-%define       V_tree_trie       1.0
-%define       V_tree_bptree     1.06
-%define       V_array_window    0.4
-%define       V_array_each      0.02
+%define       V_perl              5.8.6
+%define       V_bit_vector        6.4
+%define       V_set_scalar        1.19
+%define       V_io_string         1.06
+%define       V_io_stringy        2.109
+%define       V_tie_ixhash        1.21
+%define       V_tree_dag_node     1.04
+%define       V_tree_nary         1.3
+%define       V_tree_simple       1.14
+%define       V_tree_trie         1.0
+%define       V_tree_bptree       1.06
+%define       V_array_window      0.4
+%define       V_array_each        0.02
+%define       V_scalar_list_utils 1.14
 
 #   package information
 Name:         perl-ds
@@ -49,7 +50,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20041129
+Release:      20041202
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Bit/Bit-Vector-%{V_bit_vector}.tar.gz
@@ -64,6 +65,7 @@ Source8:      http://www.cpan.org/modules/by-module/Tree/Tree-Trie-%{V_tree_trie
 Source9:      http://www.cpan.org/modules/by-module/Tree/Tree-BPTree-%{V_tree_bptree}.tar.gz
 Source10:     http://www.cpan.org/modules/by-module/Array/Array-Window-%{V_array_window}.tar.gz
 Source11:     http://www.cpan.org/modules/by-module/Array/Array-Each-%{V_array_each}.tar.gz
+Source12:     http://www.cpan.org/modules/by-module/Scalar/Scalar-List-Utils-%{V_scalar_list_utils}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -87,6 +89,8 @@ AutoReqProv:  no
     - Tree::BPTree (%{V_tree_bptree})
     - Array::Window (%{V_array_window})
     - Array::Each (%{V_array_each})
+    - Scalar::Utils (%{V_scalar_list_utils})
+    - List::Utils (%{V_scalar_list_utils})
 
 %track
     prog perl-ds:Bit-Vector = {
@@ -150,6 +154,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Array/
         regex     = Array-Each-(__VER__)\.tar\.gz
     }
+    prog perl-ds:Scalar-List-Utils = {
+        version   = %{V_scalar_list_utils}
+        url       = http://www.cpan.org/modules/by-module/Scalar/
+        regex     = Scalar-List-Utils-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -164,6 +173,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 9
     %setup -q -T -D -a 10
     %setup -q -T -D -a 11
+    %setup -q -T -D -a 12
 
 %build
 
@@ -182,6 +192,7 @@ AutoReqProv:  no
     %{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 -d %{SOURCE11} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} 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`