Update to 0.28

- New upstream release 0.28
  - Added a Test::Specio module to provide helpers for testing Specio libraries
  - Fixed another bug with a subtype of special types and inlining
- Introduce sub-package perl-Test-Specio to avoid dependencies on Test::Fatal
  and Test::More in main package
This commit is contained in:
Paul Howarth 2016-10-03 11:51:56 +01:00
parent 7d05dc8b1f
commit bea92ed259
2 changed files with 28 additions and 5 deletions

View File

@ -1,5 +1,5 @@
Name: perl-Specio
Version: 0.27
Version: 0.28
Release: 1%{?dist}
Summary: Type constraints and coercions for Perl
License: Artistic 2.0
@ -18,6 +18,7 @@ BuildRequires: perl(Carp)
BuildRequires: perl(Devel::StackTrace)
BuildRequires: perl(Eval::Closure)
BuildRequires: perl(Exporter)
BuildRequires: perl(IO::File)
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(overload)
@ -28,15 +29,14 @@ BuildRequires: perl(Role::Tiny::With)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(version) >= 0.83
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::File)
BuildRequires: perl(lib)
BuildRequires: perl(open)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Needs)
BuildRequires: perl(utf8)
# Optional Tests
@ -49,6 +49,9 @@ BuildRequires: perl(namespace::autoclean)
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Avoid provides for private packages
%global __provides_exclude ^perl\\(_T::.*\\)
%description
The Specio distribution provides classes for representing type constraints
and coercion, along with syntax sugar for declaring them.
@ -61,6 +64,15 @@ type to a variable at all.
Instead, you can explicitly check a value against a type, and optionally coerce
values to that type.
%package -n perl-Test-Specio
Summary: Test helpers for Specio
License: Artistic 2.0
Requires: %{name} = %{version}-%{release}
%description -n perl-Test-Specio
This package provides some helper functions and variables for testing Specio
types.
%prep
%setup -q -n Specio-%{version}
@ -116,7 +128,18 @@ make test
%exclude %{perl_vendorlib}/TODO.pod
%exclude %{_mandir}/man3/TODO.3*
%files -n perl-Test-Specio
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Specio.3*
%changelog
* Mon Oct 3 2016 Paul Howarth <paul@city-fan.org> - 0.28-1
- Update to 0.28
- Added a Test::Specio module to provide helpers for testing Specio libraries
- Fixed another bug with a subtype of special types and inlining
- Introduce sub-package perl-Test-Specio to avoid dependencies on Test::Fatal
and Test::More in main package
* Sun Oct 2 2016 Paul Howarth <paul@city-fan.org> - 0.27-1
- Update to 0.27
- Cloning a type with coercions defined on it would cause an exception

View File

@ -1 +1 @@
33a7ec329c317acb696d533e510a9994 Specio-0.27.tar.gz
11cc6e6b0938f7482c0c9e95e52fb016 Specio-0.28.tar.gz