瀏覽代碼

add Readonly as it is required by Locale::KeyedText in perl-locale

Ralf S. Engelschall 18 年之前
父節點
當前提交
5b5879ddd7
共有 1 個文件被更改,包括 11 次插入1 次删除
  1. 11 1
      perl-util/perl-util.spec

+ 11 - 1
perl-util/perl-util.spec

@@ -92,6 +92,7 @@
 %define       V_class_insideout          1.06
 %define       V_class_trait              0.22
 %define       V_hash_merge               0.10
+%define       V_readonly                 1.03
 
 #   package information
 Name:         perl-util
@@ -104,7 +105,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20070505
+Release:      20070508
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Test/Test-%{V_test}.tar.gz
@@ -175,6 +176,7 @@ Source64:     http://www.cpan.org/modules/by-module/UNIVERSAL/UNIVERSAL-require-
 Source65:     http://www.cpan.org/modules/by-module/Class/Class-InsideOut-%{V_class_insideout}.tar.gz
 Source66:     http://www.cpan.org/modules/by-module/Class/Class-Trait-%{V_class_trait}.tar.gz
 Source67:     http://www.cpan.org/modules/by-module/Hash/Hash-Merge-%{V_hash_merge}.tar.gz
+Source68:     http://www.cpan.org/authors/id/R/RO/ROODE/Readonly-%{V_readonly}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -254,6 +256,7 @@ AutoReqProv:  no
     - Data::Page::Pageset (%{V_data_page_pageset})
     - Want (%{V_want})
     - Hash::Merge (%{V_hash_merge})
+    - Readonly (%{V_readonly})
 
 %track
     prog perl-util:Alias = {
@@ -596,6 +599,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Hash/
         regex     = Hash-Merge-(__VER__)\.tar\.gz
     }
+    prog perl-util:Readonly = {
+        version   = %{V_readonly}
+        url       = http://www.cpan.org/authors/id/R/RO/ROODE/
+        regex     = Readonly-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -666,6 +674,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 65
     %setup -q -T -D -a 66
     %setup -q -T -D -a 67
+    %setup -q -T -D -a 68
 
 %build
 
@@ -740,6 +749,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE65} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE66} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE67} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE68} 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