Переглянути джерело

add two more interesting modules (one is required by perl-xml soon, too)

Ralf S. Engelschall 21 роки тому
батько
коміт
371149ffe7
1 змінених файлів з 25 додано та 5 видалено
  1. 25 5
      perl-util/perl-util.spec

+ 25 - 5
perl-util/perl-util.spec

@@ -41,6 +41,8 @@
 %define       V_exception_class          1.19
 %define       V_geography_countries      1.4
 %define       V_object_realize_later     0.15
+%define       V_object_multitype         0.04
+%define       V_object_lexical           0.02
 %define       V_params_validate          0.74
 %define       V_startup                  0.103
 %define       V_string_divert            0.93
@@ -83,11 +85,13 @@ Source15:     http://www.cpan.org/modules/by-module/Devel/Devel-StackTrace-%{V_d
 Source16:     http://www.cpan.org/modules/by-module/Class/Class-ReturnValue-%{V_class_returnvalue}.tar.gz
 Source17:     http://www.cpan.org/modules/by-module/Exception/Exception-Class-%{V_exception_class}.tar.gz
 Source18:     http://www.cpan.org/modules/by-module/Object/Object-Realize-Later-%{V_object_realize_later}.tar.gz
-Source19:     http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Startup-%{V_startup}.tar.gz
-Source20:     http://www.cpan.org/modules/by-module/String/String-Divert-%{V_string_divert}.tar.gz
-Source21:     http://www.cpan.org/modules/by-module/Test/Test-Simple-%{V_test_simple}.tar.gz
-Source22:     http://www.cpan.org/modules/by-module/Test/Test-Manifest-%{V_test_manifest}.tar.gz
-Source23:     http://www.cpan.org/modules/by-module/Geography/Geography-Countries-%{V_geography_countries}.tar.gz
+Source19:     http://www.cpan.org/modules/by-module/Object/Object-MultiType-%{V_object_multitype}.tar.gz
+Source20:     http://www.cpan.org/modules/by-module/Object/Object-Lexical-%{V_object_lexical}.tar.gz
+Source21:     http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Startup-%{V_startup}.tar.gz
+Source22:     http://www.cpan.org/modules/by-module/String/String-Divert-%{V_string_divert}.tar.gz
+Source23:     http://www.cpan.org/modules/by-module/Test/Test-Simple-%{V_test_simple}.tar.gz
+Source24:     http://www.cpan.org/modules/by-module/Test/Test-Manifest-%{V_test_manifest}.tar.gz
+Source25:     http://www.cpan.org/modules/by-module/Geography/Geography-Countries-%{V_geography_countries}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -115,6 +119,8 @@ AutoReqProv:  no
     - Exception::Class (%{V_exception_class})
     - Geography::Countries (%{V_geography_countries})
     - Object::Realize::Later (%{V_object_realize_later})
+    - Object::MultiType (%{V_object_multitype})
+    - Object::Lexical (%{V_object_lexical})
     - Params::Validate (%{V_params_validate})
     - Startup (%{V_startup})
     - String::Divert (%{V_string_divert})
@@ -205,6 +211,16 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Object/
         regex     = Object-Realize-Later-(__VER__)\.tar\.gz
     }
+    prog perl-util:Object-MultiType = {
+        version   = %{V_object_multitype}
+        url       = http://www.cpan.org/modules/by-module/Object/
+        regex     = Object-MultiType-(__VER__)\.tar\.gz
+    }
+    prog perl-util:Object-Lexical = {
+        version   = %{V_object_lexical}
+        url       = http://www.cpan.org/modules/by-module/Object/
+        regex     = Object-Lexical-(__VER__)\.tar\.gz
+    }
     prog perl-util:Params-Validate = {
         version   = %{V_params_validate}
         url       = http://www.cpan.org/modules/by-module/Attribute/
@@ -271,6 +287,8 @@ AutoReqProv:  no
     %setup -q -T -D -a 21
     %setup -q -T -D -a 22
     %setup -q -T -D -a 23
+    %setup -q -T -D -a 24
+    %setup -q -T -D -a 25
 
 %build
 
@@ -300,6 +318,8 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} 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