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:
parent
d6602ca654
commit
d6b630ce11
@ -1,6 +1,6 @@
|
|||||||
Name: perl-YAML
|
Name: perl-YAML
|
||||||
Version: 0.62
|
Version: 0.62
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: YAML Ain't Markup Language (tm)
|
Summary: YAML Ain't Markup Language (tm)
|
||||||
License: GPL or Artistic
|
License: GPL or Artistic
|
||||||
Group: Development/Libraries
|
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
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Test::Base) >= 0.49
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%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 -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
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
|
%check
|
||||||
make test
|
make test
|
||||||
@ -58,6 +58,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/YAML*.3*
|
%{_mandir}/man3/YAML*.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.62-2
|
||||||
- Fix find option order.
|
- Fix find option order.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user