Ralf S. Engelschall 20 лет назад
Родитель
Сommit
01f5cf717b
1 измененных файлов с 21 добавлено и 1 удалено
  1. 21 1
      perl-parse/perl-parse.spec

+ 21 - 1
perl-parse/perl-parse.spec

@@ -27,6 +27,8 @@
 %define       V_config_inifiles           2.38
 %define       V_config_general            2.30
 %define       V_config_simple             4.58
+%define       V_config_context            0.09
+%define       V_config_scoped             0.11
 %define       V_string_tokenizer          0.05
 %define       V_parse_recdescent          1.94
 %define       V_parse_recdescent_faq      3.94
@@ -53,7 +55,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20050916
+Release:      20051031
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
@@ -73,6 +75,8 @@ Source13:     http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{
 Source14:     http://www.cpan.org/modules/by-module/YAML/YAML-%{V_yaml}.tar.gz
 Source15:     http://osdn.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
 Source16:     http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz
+Source17:     http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz
+Source18:     http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -87,6 +91,8 @@ AutoReqProv:  no
     - Config::IniFiles (%{V_config_inifiles})
     - Config::General (%{V_config_general})
     - Config::Simple (%{V_config_simple})
+    - Config::Context (%{V_config_context})
+    - Config::Scoped (%{V_config_scoped})
     - String::Tokenizer (%{V_string_tokenizer})
     - Parse::RecDescent (%{V_parse_recdescent})
     - Parse::RecDescent::FAQ (%{V_parse_recdescent_faq})
@@ -188,6 +194,16 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/String/
         regex     = String-Tokenizer-(__VER__)\.tar\.gz
     }
+    prog perl-text:Config-Context = {
+        version   = %{V_config_context}
+        url       = http://www.cpan.org/modules/by-module/Config/
+        regex     = Config-Context-(__VER__)\.tar\.gz
+    }
+    prog perl-text:Config-Scoped = {
+        version   = %{V_config_scoped}
+        url       = http://www.cpan.org/modules/by-module/Config/
+        regex     = Config-Scoped-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -207,6 +223,8 @@ AutoReqProv:  no
     %setup -q -T -D -a 14
     %setup -q -T -D -a 15
     %setup -q -T -D -a 16
+    %setup -q -T -D -a 17
+    %setup -q -T -D -a 18
 
 %build
 
@@ -237,6 +255,8 @@ AutoReqProv:  no
     ) || exit $?
     %{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} 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`