From 8ebe04d9cac13ce8d75018c8de591a32f2fb111a Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Wed, 20 Apr 2016 12:12:45 +0200
Subject: Don't BR Test::CPAN::Changes when bootstrapping
---
perl-CGI.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/perl-CGI.spec b/perl-CGI.spec
index 5b91f83..cd8d9d4 100644
--- a/perl-CGI.spec
+++ b/perl-CGI.spec
@@ -1,7 +1,7 @@
Name: perl-CGI
Summary: Handle Common Gateway Interface requests and responses
Version: 4.28
-Release: 3%{?dist}
+Release: 4%{?dist}
License: (GPL+ or Artistic) and Artistic 2.0
Group: Development/Libraries
Source0:
http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-%{version}.tar.gz
@@ -47,8 +47,10 @@ BuildRequires: perl(Test::Deep) >= 0.11
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Warn)
BuildRequires: perl(utf8)
+%if !%{defined perl_bootstrap}
# Optional tests
BuildRequires: perl(Test::CPAN::Changes)
+%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%if 0%(perl -e 'print $] >= 5.019')
Requires: perl(deprecate)
@@ -101,6 +103,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Wed Apr 20 2016 Jitka Plesnikova <[email protected]> - 4.28-4
+- Don't BR Test::CPAN::Changes when bootstrapping
+
* Thu Mar 17 2016 Petr Pisar <[email protected]> - 4.28-3
- Drop Test::Deep patch
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-CGI.git/commit/?h=master&id=8ebe04d9cac13ce8d75018c8de591a32f2fb111a
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]