Browse Source

perl-YAML-0.72-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3120 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
13be9a4c57
1 changed files with 11 additions and 3 deletions
  1. 11 3
      p/perl-YAML/perl-YAML-vl.spec

+ 11 - 3
p/perl-YAML/perl-YAML-vl.spec

@@ -2,7 +2,7 @@
 
 Summary: YAML Ain't Markup Language (tm) for Perl
 Name: perl-YAML
-Version: 0.71
+Version: 0.72
 Release: 1%{?_dist_release}
 License: perl's
 Group: Development/Libraries
@@ -18,7 +18,11 @@ Distribution: Vine Linux
 Vendor: Project Vine
 Packager: iwaim
 
+%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
 %define __find_requires %{SOURCE1}
+%else
+%define __perl_requires %{SOURCE1}
+%endif
 
 %description
 This module has been released to CPAN as YAML::Old, and soon YAML.pm
@@ -63,9 +67,13 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.files
 %defattr(-,root,root)
 %doc README Changes LICENSE
-%{perl_vendorlib}/YAML
+%dir %{perl_vendorlib}/YAML
 %{_mandir}/man3/*
 
 %changelog
-* Mon Feb 22 2010 IWAI, Masaharu <iwai@alib.jp>
+* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 0.72-1
+- new upstream release
+- using __perl_requires macro for VineSeed (vl6)
+
+* Mon Feb 22 2010 IWAI, Masaharu <iwai@alib.jp> 0.71-1
 - first release for Vine Linux