Browse Source

perl-Date-Manip-5.54-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3197 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 14 years ago
parent
commit
2e841719cd
1 changed files with 7 additions and 1 deletions
  1. 7 1
      p/perl-Date-Manip/perl-Date-Manip-vl.spec

+ 7 - 1
p/perl-Date-Manip/perl-Date-Manip-vl.spec

@@ -3,7 +3,7 @@
 Summary: A Perl module containing a wide variety of date manipulation routines.
 Name: perl-Date-Manip
 Version: 5.54
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+ or Artistic
 Group: Development/Libraries
 Source0: Date-Manip-%{version}.tar.gz
@@ -24,9 +24,11 @@ manipulation easy to do.  Operations such as comparing two times,
 calculating a time a given amount of time from another, or parsing
 international times are all easily done.
 
+%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 Date-Manip-%{version}
@@ -63,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 
 %changelog
+* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 5.54-2vl6
+- build with perl 5.12.3
+- defined __find_{provides,requires} with vl4 and vl5
+
 * Sat Nov  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.54-1
 - changed name to Date-Manip as now used on CPAN
 - new upstream release