[perl-Package-DeprecationManager] Add commentary regarding conditionalized buildreqs

Paul Howarth pghmcfc at fedoraproject.org
Thu Jun 7 11:35:31 UTC 2012


commit fee9bb4dad96d7b52f0a5ba2ec7d3330b9ced68f
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Jun 7 12:35:22 2012 +0100

    Add commentary regarding conditionalized buildreqs

 perl-Package-DeprecationManager.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec
index e2d7c3b..c5194ca 100644
--- a/perl-Package-DeprecationManager.spec
+++ b/perl-Package-DeprecationManager.spec
@@ -6,7 +6,7 @@
 
 Name:		perl-Package-DeprecationManager
 Version:	0.13
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Manage deprecation warnings for your distribution
 Group:		Development/Libraries
 License:	Artistic 2.0
@@ -34,14 +34,11 @@ BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
 BuildRequires:	perl(Test::Requires)
 BuildRequires:	perl(Test::Spelling)
-# Don't run extra tests when bootstrapping as many of those
-# tests' dependencies build-require this package
-%if 0%{!?perl_bootstrap:1}
-# RHEL-7 package cannot have buildreqs from EPEL-7 (aspell),
-# so skip the spell check there
+# Can't use aspell-en from EPEL-7 as BR: for RHEL-7 package so skip the spell
+# check test there; test would fail rather than skip without Test::Spelling so
+# we need to keep that as a buildreq
 %if 0%{?rhel} < 7
-aspell-en
-%endif
+BuildRequires:	aspell-en
 %endif
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -85,8 +82,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Package::DeprecationManager.3pm*
 
 %changelog
+* Thu Jun  7 2012 Paul Howarth <paul at city-fan.org> - 0.13-4
+- Add commentary regarding conditionalized buildreqs
+
 * Thu Jun  7 2012 Marcela Mašláňová <mmaslano at redhat.com> - 0.13-3
-- conditionalize aspell-en
+- Conditionalize aspell-en
 
 * Mon Apr 23 2012 Paul Howarth <paul at city-fan.org> - 0.13-2
 - Upstream has dropped Kwalitee test, so drop BR: perl(Test::Kwalitee)


More information about the scm-commits mailing list