Просмотр исходного кода

add Text::Shellwords because it is needed by me and is generally useful

Ralf S. Engelschall 21 лет назад
Родитель
Сommit
07e0f5b425
1 измененных файлов с 13 добавлено и 2 удалено
  1. 13 2
      perl-text/perl-text.spec

+ 13 - 2
perl-text/perl-text.spec

@@ -30,6 +30,8 @@
 %define       V_text_reform                  1.11
 %define       V_text_autoformat              1.12
 %define       V_text_quoted                  1.5
+%define       V_text_quoted                  1.5
+%define       V_text_shellwords              1.03
 %define       V_locale_maketext              1.08
 
 #   package information
@@ -43,7 +45,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20040218
+Release:      20040312
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Text/Text-Template-%{V_text_template}.tar.gz
@@ -51,7 +53,8 @@ Source1:      http://www.cpan.org/modules/by-module/Text/Text-Wrapper-%{V_text_w
 Source2:      http://www.cpan.org/modules/by-module/Text/Text-Reform-%{V_text_reform}.tar.gz
 Source3:      http://www.cpan.org/modules/by-module/Text/Text-Autoformat-%{V_text_autoformat}.tar.gz
 Source4:      http://www.cpan.org/modules/by-module/Text/Text-Quoted-%{V_text_quoted}.tar.gz
-Source5:      http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-%{V_locale_maketext}.tar.gz
+Source5:      http://www.cpan.org/modules/by-module/Text/Text-Shellwords-%{V_text_shellwords}.tar.gz
+Source6:      http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-%{V_locale_maketext}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -68,6 +71,7 @@ AutoReqProv:  no
     - Text::Reform (%{V_text_reform})
     - Text::Autoformat (%{V_text_autoformat})
     - Text::Quoted (%{V_text_quoted})
+    - Text::Shellwords (%{V_text_shellwords})
     - Locale::Maketext (%{V_locale_maketext})
 
 %track
@@ -101,6 +105,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Text/
         regex     = Text-Wrapper-(__VER__)\.tar\.gz
     }
+    prog perl-text:Text-Shellwords = {
+        version   = %{V_text_shellwords}
+        url       = http://www.cpan.org/modules/by-module/Text/
+        regex     = Text-Shellwords-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -109,6 +118,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 3
     %setup -q -T -D -a 4
     %setup -q -T -D -a 5
+    %setup -q -T -D -a 6
 
 %build
 
@@ -120,6 +130,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE3}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE4}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE5}  configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  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`