From 48fd123ff83d853a4db030374bda66e1b84cae0f Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 23 Apr 2012 13:11:31 +0100 Subject: [PATCH] Fix build and runtime dependencies - R: perl(Carp) and perl(Data::Dumper) - BR: perl(Carp), perl(constant) and perl(Exporter) - Release tests no longer shipped, so drop buildreqs for them and don't bother setting AUTOMATED_TESTING; run tests even when bootstrapping --- perl-YAML.spec | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/perl-YAML.spec b/perl-YAML.spec index b989cd4..de75c06 100644 --- a/perl-YAML.spec +++ b/perl-YAML.spec @@ -1,18 +1,20 @@ Name: perl-YAML Version: 0.81 -Release: 1%{?dist} +Release: 2%{?dist} Summary: YAML Ain't Markup Language (tm) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/YAML/ Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) BuildRequires: perl(Data::Dumper) -%if !%{defined perl_bootstrap} -BuildRequires: perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod) -%endif +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(Data::Dumper) %description The YAML.pm module implements a YAML Loader and Dumper based on the @@ -49,9 +51,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -%if !%{defined perl_bootstrap} -make test AUTOMATED_TESTING=1 -%endif +make test %files %doc Changes README LICENSE @@ -59,9 +59,15 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/YAML*.3* %changelog +* Mon Apr 23 2012 Paul Howarth - 0.81-2 +- R: perl(Carp) and perl(Data::Dumper) +- BR: perl(Carp), perl(constant) and perl(Exporter) +- Release tests no longer shipped, so drop buildreqs for them and don't bother + setting AUTOMATED_TESTING; run tests even when bootstrapping + * Mon Apr 23 2012 Marcela Mašláňová - 0.81-1 -- update to 0.81 -- add BR Data::Dumper +- Update to 0.81 +- Add BR Data::Dumper * Fri Jan 13 2012 Fedora Release Engineering - 0.73-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild