Procházet zdrojové kódy

modifying package: perl-poe-5.10.0 20080627 -> 20080706

Ralf S. Engelschall před 17 roky
rodič
revize
26cf711ad4
1 změnil soubory, kde provedl 20 přidání a 10 odebrání
  1. 20 10
      perl-poe/perl-poe.spec

+ 20 - 10
perl-poe/perl-poe.spec

@@ -23,7 +23,8 @@
 
 #   versions of individual parts
 %define       V_perl                            5.10.0
-%define       V_poe                             1.0003
+%define       V_poe_test_loops                  1.002
+%define       V_poe                             1.002
 %define       V_poe_component_child             1.39
 %define       V_poe_component_server_http       0.09
 %define       V_poe_component_server_preforktcp 0.11
@@ -41,15 +42,16 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20080627
+Release:      20080706
 
 #   list of sources
-Source0:      http://www.cpan.org/modules/by-module/POE/POE-%{V_poe}.tar.gz
-Source1:      http://www.cpan.org/modules/by-module/POE/POE-Component-Child-%{V_poe_component_child}.tar.gz
-Source2:      http://www.cpan.org/modules/by-module/POE/POE-Component-Server-HTTP-%{V_poe_component_server_http}.tar.gz
-Source3:      http://www.cpan.org/modules/by-module/POE/POE-Component-Server-PreforkTCP-%{V_poe_component_server_preforktcp}.tar.gz
-Source4:      http://www.cpan.org/modules/by-module/POE/POE-Component-Server-SOAP-%{V_poe_component_server_soap}.tar.gz
-Source5:      http://www.cpan.org/modules/by-module/POE/POE-Session-MultiDispatch-%{V_poe_session_multidispatch}.tar.gz
+Source0:      http://www.cpan.org/modules/by-module/POE/POE-Test-Loops-%{V_poe_test_loops}.tar.gz
+Source1:      http://www.cpan.org/modules/by-module/POE/POE-%{V_poe}.tar.gz
+Source2:      http://www.cpan.org/modules/by-module/POE/POE-Component-Child-%{V_poe_component_child}.tar.gz
+Source3:      http://www.cpan.org/modules/by-module/POE/POE-Component-Server-HTTP-%{V_poe_component_server_http}.tar.gz
+Source4:      http://www.cpan.org/modules/by-module/POE/POE-Component-Server-PreforkTCP-%{V_poe_component_server_preforktcp}.tar.gz
+Source5:      http://www.cpan.org/modules/by-module/POE/POE-Component-Server-SOAP-%{V_poe_component_server_soap}.tar.gz
+Source6:      http://www.cpan.org/modules/by-module/POE/POE-Session-MultiDispatch-%{V_poe_session_multidispatch}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -63,6 +65,7 @@ AutoReqProv:  no
 
 %description
     Various modules for using POE:
+    - POE::Test::Loops (%{V_poe_test_loops})
     - POE (%{V_poe})
     - POE::Component::Child (%{V_poe_component_child})
     - POE::Component::Server::HTTP (%{V_poe_component_server_http})
@@ -71,6 +74,11 @@ AutoReqProv:  no
     - POE::Session::MultiDispatch (%{V_poe_session_multidispatch})
 
 %track
+    prog perl-poe:POE-Test-Loops = {
+        version   = %{V_poe_test_loops}
+        url       = http://www.cpan.org/modules/by-module/POE/
+        regex     = POE-Test-Loops-(__VER__)\.tar\.gz
+    }
     prog perl-poe:POE = {
         version   = %{V_poe}
         url       = http://www.cpan.org/modules/by-module/POE/
@@ -109,20 +117,22 @@ 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
 
 %install
     rm -rf $RPM_BUILD_ROOT
     %{l_prefix}/bin/perl-openpkg prepare
-    %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} \
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE0}  configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} \
         --args '--default' \
         configure build install
-    %{l_prefix}/bin/perl-openpkg -d %{SOURCE1}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE2}  configure build install
     %{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`