Use fixperms macro instead of our own chmod incantation. Drop Test::Base

build dependency to avoid a BR loop. BR ExtUtils::MakeMaker.
This commit is contained in:
Steven Pritchard 2007-03-13 21:58:04 +00:00
parent d6602ca654
commit d6b630ce11
1 changed files with 8 additions and 3 deletions

View File

@ -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 <steve@kspei.com> 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 <steve@kspei.com> 0.62-2
- Fix find option order.