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
This commit is contained in:
Paul Howarth 2012-04-23 13:11:31 +01:00
parent 13b616a70e
commit 48fd123ff8
1 changed files with 16 additions and 10 deletions

View File

@ -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 <paul@city-fan.org> - 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á <mmaslano@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 0.73-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild