[perl-DBM-Deep] Do not build-require FileHandle::Fmode on RHEL ≥ 7 (#822885)

Paul Howarth pghmcfc at fedoraproject.org
Fri May 18 13:23:13 UTC 2012


commit 2e41042ce580cc5b32f6e403f04e81373ddf8ab5
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri May 18 14:22:36 2012 +0100

    Do not build-require FileHandle::Fmode on RHEL ≥ 7 (#822885)

 perl-DBM-Deep.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-DBM-Deep.spec b/perl-DBM-Deep.spec
index 5ba0203..e4409e1 100644
--- a/perl-DBM-Deep.spec
+++ b/perl-DBM-Deep.spec
@@ -1,6 +1,6 @@
 Name:           perl-DBM-Deep
 Version:        2.0006
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A pure perl multi-level hash/array DBM
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -16,7 +16,9 @@ BuildRequires:  perl(DBD::SQLite)
 BuildRequires:  perl(DBI)
 BuildRequires:  perl(Digest::MD5)
 BuildRequires:  perl(Exporter)
+%if ! (0%{?rhel} >= 7)
 BuildRequires:  perl(FileHandle::Fmode)
+%endif
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Pod::Usage) >= 1.3
 BuildRequires:  perl(Test::Deep)
@@ -61,7 +63,10 @@ LONG_TESTS=1 TEST_SQLITE=1 ./Build test
 %{_mandir}/man3/DBM::Deep*
 
 %changelog
-* Mon Apr  2 2012 Paul Howarth <paul at city-fan.org> 2.0006-1
+* Fri May 18 2012 Petr Pisar <ppisar at redhat.com> - 2.0006-2
+- Do not build-require FileHandle::Fmode on RHEL ≥ 7 (#822885)
+
+* Mon Apr  2 2012 Paul Howarth <paul at city-fan.org> - 2.0006-1
 - Update to 2.0006
   - Try harder to get t/27_filehandle.t to work under TB2; the extra
     'TAP version 13' line was causing a TAP parse error


More information about the scm-commits mailing list