From d6b630ce11dd58ca92d0051e41f3e1f9822e1b07 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Tue, 13 Mar 2007 21:58:04 +0000 Subject: [PATCH] Use fixperms macro instead of our own chmod incantation. Drop Test::Base build dependency to avoid a BR loop. BR ExtUtils::MakeMaker. --- perl-YAML.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/perl-YAML.spec b/perl-YAML.spec index 5fa9d65..767726d 100644 --- a/perl-YAML.spec +++ b/perl-YAML.spec @@ -1,6 +1,6 @@ Name: perl-YAML Version: 0.62 -Release: 2%{?dist} +Release: 3%{?dist} Summary: YAML Ain't Markup Language (tm) License: GPL or Artistic Group: Development/Libraries @@ -8,7 +8,7 @@ URL: http://search.cpan.org/dist/YAML/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/YAML-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Test::Base) >= 0.49 +BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -41,7 +41,7 @@ rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Test/YAML* \ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; -chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT/* %check make test @@ -58,6 +58,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/YAML*.3* %changelog +* Tue Mar 13 2007 Steven Pritchard 0.62-3 +- Use fixperms macro instead of our own chmod incantation. +- Drop Test::Base build dependency to avoid a BR loop. +- BR ExtUtils::MakeMaker. + * Sat Sep 16 2006 Steven Pritchard 0.62-2 - Fix find option order.