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

+ 13 - 3
perl-sys/perl-sys.spec

@@ -47,6 +47,7 @@
 %define       V_io_all              0.33
 %define       V_io_multiplex        1.08
 %define       V_io_interface        0.98
+%define       V_io_util             1.43
 %define       V_boulder             1.30
 %define       V_error               0.15
 
@@ -61,7 +62,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20050207
+Release:      20050303
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
@@ -86,8 +87,9 @@ Source18:     http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz
 Source19:     http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz
 Source20:     http://www.cpan.org/modules/by-module/IO/IO-Multiplex-%{V_io_multiplex}.tar.gz
 Source21:     http://www.cpan.org/modules/by-module/IO/IO-Interface-%{V_io_interface}.tar.gz
-Source22:     http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz
-Source23:     http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz
+Source22:     http://www.cpan.org/modules/by-module/IO/IO-Util-%{V_io_util}.tar.gz
+Source23:     http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz
+Source24:     http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -123,6 +125,7 @@ AutoReqProv:  no
     - IO::All (%{V_io_all})
     - IO::Multiplex (%{V_io_multiplex})
     - IO::Interface (%{V_io_interface})
+    - IO::Util (%{V_io_util})
     - Boulder (%{V_boulder})
     - Error (%{V_error})
 
@@ -237,6 +240,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/IO/
         regex     = IO-Interface-(__VER__)\.tar\.gz
     }
+    prog perl-sys:IO-Util = {
+        version   = %{V_io_util}
+        url       = http://www.cpan.org/modules/by-module/IO/
+        regex     = IO-Util-(__VER__)\.tar\.gz
+    }
     prog perl-sys:Boulder = {
         version   = %{V_boulder}
         url       = http://www.cpan.org/modules/by-module/Boulder/
@@ -273,6 +281,7 @@ 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
 
 %build
 
@@ -303,6 +312,7 @@ 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 -F perl-openpkg-files fixate cleanup
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`