浏览代码

try to fix dependencies

Ralf S. Engelschall 14 年之前
父节点
当前提交
10adb84f2d
共有 1 个文件被更改,包括 31 次插入2 次删除
  1. 31 2
      perl-www/perl-www.spec

+ 31 - 2
perl-www/perl-www.spec

@@ -89,6 +89,9 @@
 %define       V_web_scraper                           0.34
 %define       V_net_oauth                             0.27
 %define       V_net_oauth_simple                      1.5
+%define       V_http_message                          6.01
+%define       V_http_negotiate                        6.00
+%define       V_lwp_mediatypes                        6.01
 
 #   package information
 Name:         perl-www
@@ -101,7 +104,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20110310
+Release:      20110311
 
 #   package options
 %option       with_curl  no
@@ -173,6 +176,9 @@ Source62:     http://www.cpan.org/authors/id/M/MS/MSCHWERN/URI-Find-%{V_uri_find
 Source63:     http://www.cpan.org/authors/id/T/TO/TOMI/URI-Find-Simple-%{V_uri_find_simple}.tar.gz
 Source64:     http://www.cpan.org/authors/id/K/KG/KGRENNAN/Net-OAuth-%{V_net_oauth}.tar.gz
 Source65:     http://www.cpan.org/authors/id/S/SI/SIMONW/Net-OAuth-Simple-%{V_net_oauth_simple}.tar.gz
+Source66:     http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Message-%{V_http_message}.tar.gz
+Source67:     http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Negotiate-%{V_http_negotiate}.tar.gz
+Source68:     http://www.cpan.org/authors/id/G/GA/GAAS/LWP-MediaTypes-%{V_lwp_mediatypes}.tar.gz
 Patch0:       perl-www.patch
 
 #   build information
@@ -237,6 +243,8 @@ PreReq:       curl
     - HTTP::Daemon::SSL (%{V_http_daemon_ssl})
     - HTTP::Proxy (%{V_http_proxy})
     - HTTP::Recorder (%{V_http_recorder})
+    - HTTP::Request::* (%{V_http_message})
+    - HTTP::Request::* (%{V_http_negotiate})
     - HTTP::Request::Params (%{V_http_request_params})
     - HTTP::Response::Encoding (%{V_http_response_encoding})
     - WDDX (%{V_wddx})
@@ -526,7 +534,17 @@ PreReq:       curl
         url       = http://www.cpan.org/authors/id/L/LE/LEIRA/
         regex     = HTTP-Recorder-(__VER__)\.tar\.gz
     }
-    prog perl-www:HTTP-Request-Parmas = {
+    prog perl-www:HTTP-Message = {
+        version   = %{V_http_message}
+        url       = http://www.cpan.org/authors/id/G/GA/GAAS/
+        regex     = HTTP-Message-(__VER__)\.tar\.gz
+    }
+    prog perl-www:HTTP-Negotiate = {
+        version   = %{V_http_negotiate}
+        url       = http://www.cpan.org/authors/id/G/GA/GAAS/
+        regex     = HTTP-Negotiate-(__VER__)\.tar\.gz
+    }
+    prog perl-www:HTTP-Request-Params = {
         version   = %{V_http_request_params}
         url       = http://www.cpan.org/authors/id/C/CW/CWEST/
         regex     = HTTP-Request-Params-(__VER__)\.tar\.gz
@@ -581,6 +599,11 @@ PreReq:       curl
         url       = http://www.cpan.org/authors/id/S/SI/SIMONW/
         regex     = Net-OAuth-Simple-(__VER__)\.tar\.gz
     }
+    prog perl-www:LWP-MediaTypes = {
+        version   = %{V_lwp_mediatypes}
+        url       = http://www.cpan.org/authors/id/G/GA/GAAS/
+        regex     = LWP-MediaTypes-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -655,6 +678,9 @@ PreReq:       curl
     %setup -q -T -D -a 63
     %setup -q -T -D -a 64
     %setup -q -T -D -a 65
+    %setup -q -T -D -a 66
+    %setup -q -T -D -a 67
+    %setup -q -T -D -a 68
     %patch -p0
 
 %build
@@ -729,6 +755,9 @@ PreReq:       curl
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE63} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE64} configure build install
     %{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
 
     #   cleanup installation
     ( cd $RPM_BUILD_ROOT%{l_prefix}/bin