소스 검색

modifying package: perl-net-5.8.8 20070829 -> 20071018

Ralf S. Engelschall 18 년 전
부모
커밋
eaf61725ae
1개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. 11 1
      perl-net/perl-net.spec

+ 11 - 1
perl-net/perl-net.spec

@@ -53,6 +53,7 @@
 %define       V_io_socket_multicast   1.05
 %define       V_net_growlclient       0.02
 %define       V_net_dhcp              0.66
+%define       V_net_proxy             0.12
 
 #   package information
 Name:         perl-net
@@ -65,7 +66,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20070829
+Release:      20071018
 
 #   package options
 %option       with_pcap   no
@@ -100,6 +101,7 @@ Source25:     http://www.cpan.org/modules/by-module/IP/IP-Country-%{V_ip_country
 Source26:     http://www.cpan.org/modules/by-module/IO/IO-Socket-Multicast-%{V_io_socket_multicast}.tar.gz
 Source27:     http://www.cpan.org/modules/by-module/Net/Net-GrowlClient-%{V_net_growlclient}.tar.gz
 Source28:     http://www.cpan.org/modules/by-module/Net/Net-DHCP-%{V_net_dhcp}.tar.gz
+Source29:     http://www.cpan.org/modules/by-module/Net/Net-Proxy-%{V_net_proxy}.tar.gz
 Patch0:       perl-net.patch
 
 #   build information
@@ -159,6 +161,7 @@ AutoReqProv:  no
     - IO::Socket::Multicast (%{V_io_socket_multicast})
     - Net::GrowlClient (%{V_net_growlclient})
     - Net::DHCP (%{V_net_dhcp})
+    - Net::Proxy (%{V_net_proxy})
 
 %track
     prog perl-net:Net-Netmask = {
@@ -306,6 +309,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Net/
         regex     = Net-DHCP-(__VER__)\.tar\.gz
     }
+    prog perl-net:Net-Proxy = {
+        version   = %{V_net_proxy}
+        url       = http://www.cpan.org/modules/by-module/Net/
+        regex     = Net-Proxy-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -339,6 +347,7 @@ AutoReqProv:  no
     (
     %setup -q -T -D -a 28
     ) || true
+    %setup -q -T -D -a 29
     sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
 
 %build
@@ -380,6 +389,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} 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`