Browse Source

perl-libxml-enno-1.02-31

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3320 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
1dc9bba586
1 changed files with 12 additions and 2 deletions
  1. 12 2
      p/perl-libxml-enno/perl-libxml-enno-vl.spec

+ 12 - 2
p/perl-libxml-enno/perl-libxml-enno-vl.spec

@@ -3,7 +3,7 @@
 Summary: A collection of Perl modules for XML parsing and validation.
 Name: perl-libxml-enno
 Version: 1.02
-Release: 30%{?_dist_release}
+Release: 31%{?_dist_release}
 License: distributable
 Group: Development/Libraries
 Source0: libxml-enno-%{version}.tar.gz
@@ -14,16 +14,20 @@ Requires: perl >= 5.8.2
 Provides: perl(XML::Handler::DOM)
 BuildRequires: perl-Parse-Yapp
 BuildRequires: perl-libwww-perl
-BuildRequires: perl-DateManip
+BuildRequires: perl-Date-Manip
 BuildArch: noarch
+Vendor: Project Vine
+Distribution: Vine Linux
 
 %description
 libxml-enno contains the modules XML::DOM, XML::XQL, XML::Checker and
 several other packages used for parsing XML from Perl.
 
+%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
 # Provide perl-specific find-{provides,requires}.
 %define __find_provides /usr/lib/rpm/find-provides.perl
 %define __find_requires /usr/lib/rpm/find-requires.perl
+%endif
 
 %prep
 %setup -q -n libxml-enno-%{version} 
@@ -59,6 +63,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 
 %changelog
+* Tue Apr  5 2011 IWAI, Masaharu <iwai@alib.jp> 1.02-31
+- rename to perl-Date-Manip in BuildRequires
+- build with perl 5.12.3
+- defined __find_{provides,requires} with vl4 and vl5
+- add Vendor and Distribution tags
+
 * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-30
 - applied new versioning policy
 - rebuilt with perl-5.10.0-2