Browse Source

perl-libwww-perl-5.833-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3157 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
1b8025bd4f

+ 3 - 0
p/perl-libwww-perl/filter-depends-libwww-perl.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/lib/rpm/perl.req $* | grep -v HTTP::GHTTP | grep -v Win32 | grep -v NTLM

+ 0 - 3
p/perl-libwww-perl/filter-depends.sh

@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/usr/lib/rpm/find-requires.perl $* | grep -v HTTP::GHTTP | grep -v Win32 | grep -v NTLM

+ 13 - 3
p/perl-libwww-perl/perl-libwww-perl-vl.spec

@@ -1,4 +1,4 @@
-%define rel 2
+%define rel 3
 
 Summary: A Perl interface to the World-Wide Web
 Name: perl-libwww-perl
@@ -7,7 +7,7 @@ Release: %{rel}%{?_dist_release}
 License: GPL or Artistic
 Group: Development/Libraries
 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/LWP/libwww-perl-%{version}.tar.gz
-Source10: filter-depends.sh
+Source10: filter-depends-libwww-perl.sh
 Patch100: lwp-download_CVE-2010-2253.patch
 Patch110: lwp-download_usage.patch
 
@@ -17,8 +17,11 @@ BuildArch: noarch
 BuildRequires: perl >= 5.8.0, perl-URI, perl-HTML-Parser perl-Compress-Zlib
 Requires: perl >= 5.8.0, perl-URI, perl-HTML-Parser perl-Compress-Zlib
 
+%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
 %define __find_requires %{SOURCE10}
-#define __perl_requires %{SOURCE10}
+%else
+%define __perl_requires %{SOURCE10}
+%endif
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -92,6 +95,13 @@ make test
 %{_mandir}/man?/*
 
 %changelog
+* Sun Mar 27 2011 IWAI, Masaharu <iwai@alib.jp> 5.833-3
+- build with perl 5.12.3
+- rename Source10: filter-depends.sh to filter-depends-libwww-perl.sh
+- update filter-depends (Source10): using /usr/lib/rpm/perl.req
+- confine to defined __find_requires on vl4 and vl5
+- defined __perl_requires without vl4 and vl5
+
 * Sun Aug 15 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.833-2
 - add patch100,110 for fix CVE-2010-2253 (lwp-download)
 - add Vendor/Dist Tags