[perl-YAML] Fix build and runtime dependencies
Paul Howarth
pghmcfc at fedoraproject.org
Mon Apr 23 12:20:30 UTC 2012
commit 48fd123ff83d853a4db030374bda66e1b84cae0f
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Apr 23 13:11:31 2012 +0100
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 files 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 <paul at 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 at 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 at lists.fedoraproject.org> - 0.73-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list