[perl-Test-Version] Conditionalize perl(Test::Spelling) buildreq

Paul Howarth pghmcfc at fedoraproject.org
Thu Jun 7 11:55:48 UTC 2012


commit 282a38a05c087606eafc68b8d7c6aa8df919c283
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Jun 7 12:55:13 2012 +0100

    Conditionalize perl(Test::Spelling) buildreq
    
    - If we don't have buildreqs aspell-en and perl(Pod::Wordlist::hanekomu), we
      don't need perl(Test::Spelling) either

 perl-Test-Version.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/perl-Test-Version.spec b/perl-Test-Version.spec
index 25c00c4..4488c48 100644
--- a/perl-Test-Version.spec
+++ b/perl-Test-Version.spec
@@ -3,7 +3,7 @@
 
 Name:		perl-Test-Version
 Version:	1.002001
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Check to see that versions in modules are sane
 License:	Artistic 2.0
 Group:		Development/Libraries
@@ -58,7 +58,6 @@ BuildRequires:	perl(Test::Perl::Critic)
 BuildRequires:	perl(Test::Pod) >= 1.41
 BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
 BuildRequires:	perl(Test::Portability::Files)
-BuildRequires:	perl(Test::Spelling) >= 0.12
 BuildRequires:	perl(Test::Synopsis)
 BuildRequires:	perl(Test::Vars)
 # RHEL-7+ package cannot BR: packages from EPEL
@@ -66,6 +65,7 @@ BuildRequires:	perl(Test::Vars)
 BuildRequires:	aspell-en
 BuildRequires:	perl(Pod::Wordlist::hanekomu)
 BuildRequires:	perl(Test::Kwalitee)
+BuildRequires:	perl(Test::Spelling) >= 0.12
 %endif
 %endif
 # ===================================================================
@@ -102,8 +102,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Test::Version.3pm*
 
 %changelog
+* Thu Jun  7 2012 Paul Howarth <paul at city-fan.org> - 1.002001-5
+- If we don't have buildreqs aspell-en and perl(Pod::Wordlist::hanekomu), we
+  don't need perl(Test::Spelling) either
+
 * Thu Jun  7 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1.002001-4
-- conditionalize aspell-en dependency
+- Conditionalize aspell-en dependency
 
 * Tue Apr 24 2012 Paul Howarth <paul at city-fan.org> - 1.002001-3
 - Don't BR: perl(Pod::Wordlist::hanekomu) for RHEL-7+ either (#815759)


More information about the scm-commits mailing list