Update to 2.02.

Add new dependencies on Moo and Moo::Role.
Remove optional test dependency on RHEL.  The package has additional
dependencies and doesn't run there in any case, and I prefer not to
clutter the specfile with RHEL6-specific conditionals.
This commit is contained in:
Jason Tibbitts 2018-10-11 17:48:56 -05:00
parent 86f1ad27b6
commit 0d05351543

View File

@ -1,13 +1,5 @@
# Control optional test
%if (0%{?rhel} && 0%{?rhel} <= 7)
# Default off in RHEL <= 7
%bcond_with perl_Parallel_ForkManager_enables_optional_test
%else
%bcond_without perl_Parallel_ForkManager_enables_optional_test
%endif
Name: perl-Parallel-ForkManager
Version: 1.20
Version: 2.02
Release: 1%{?dist}
Summary: Simple parallel processing fork manager
License: GPL+ or Artistic
@ -30,6 +22,8 @@ BuildRequires: perl(Carp)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Moo)
BuildRequires: perl(Moo::Role)
BuildRequires: perl(POSIX)
BuildRequires: perl(Storable)
# Tests
@ -38,11 +32,7 @@ BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Warn)
%if %{with perl_Parallel_ForkManager_enables_optional_test}
# Optional tests
BuildRequires: perl(utf8::all)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -83,6 +73,11 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Oct 11 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.02-1
- Update to 2.02.
- Add new runtime dependencies (Moo and Moo::Role).
- Remove RHEL conditionals.
* Thu Jul 19 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.20-1
- Update to 1.20.
- Add CPAN::Meta build dependency.