Browse Source

perl-HTML-Tagset

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3123 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
596fe656f9
1 changed files with 7 additions and 4 deletions
  1. 7 4
      p/perl-HTML-Tagset/perl-HTML-Tagset-vl.spec

+ 7 - 4
p/perl-HTML-Tagset/perl-HTML-Tagset-vl.spec

@@ -1,10 +1,7 @@
-%define __find_provides /usr/lib/rpm/find-provides.perl
-%define __find_requires /usr/lib/rpm/find-requires.perl
-
 Summary: HTML::Tagset - data tables useful in parsing HTML.
 Name: perl-HTML-Tagset
 Version: 3.20
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: Perl's
 Group: Development/Libraries
 Source0: HTML-Tagset-%{version}.tar.gz
@@ -22,8 +19,10 @@ This module contains several data tables useful in various kinds of
 HTML parsing operations, such as tag and entity names.
 
 # Provide perl-specific find-{provides,requires}.
+%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
 %define __find_provides /usr/lib/rpm/find-provides.perl
 %define __find_requires /usr/lib/rpm/find-requires.perl
+%endif
 
 %prep
 %setup -q -n HTML-Tagset-%{version} 
@@ -59,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{perl_vendorlib}/HTML
 
 %changelog
+* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 3.20-3vl6
+- build with perl 5.12.3
+- defined __find_{provides,requires} without vl6+
+
 * Fri Apr 25 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 3.20-2
 - build on perl-5.10.0-1vl5
 - update License