diff --git a/.gitignore b/.gitignore index b2fd179..b3020b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /MooX-Struct-0.013.tar.gz /MooX-Struct-0.014.tar.gz /MooX-Struct-0.015.tar.gz +/MooX-Struct-0.016.tar.gz diff --git a/perl-MooX-Struct.spec b/perl-MooX-Struct.spec index b426e59..7b7cb65 100644 --- a/perl-MooX-Struct.spec +++ b/perl-MooX-Struct.spec @@ -1,5 +1,8 @@ +# Run optional tests +%{bcond_without perl_MooX_Struct_enables_optional_test} + Name: perl-MooX-Struct -Version: 0.015 +Version: 0.016 Release: 1%{?dist} Summary: Record structure-like Moo classes # COPYRIGHT: Public Domain @@ -35,10 +38,11 @@ BuildRequires: perl(utf8) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(if) -BuildRequires: perl(Scalar::Does) BuildRequires: perl(Test::More) >= 0.61 +%if %{with perl_MooX_Struct_enables_optional_test} # Optional tests: BuildRequires: perl(Data::Printer) >= 0.36 +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(B::Deparse) Requires: perl(Data::Dumper) @@ -78,6 +82,9 @@ make test %{_mandir}/man3/* %changelog +* Tue May 23 2017 Petr Pisar - 0.016-1 +- 0.016 bump + * Fri May 12 2017 Petr Pisar - 0.015-1 - 0.015 bump diff --git a/sources b/sources index 70a2cec..d8a7b10 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (MooX-Struct-0.015.tar.gz) = b310d704e1b532df19cb47b3fb210a58e076644f2f82b768e44eba968902083b6092bd003c9e05daef3a37ae7cfa17306519c552b0305000add7e7585e0b7122 +SHA512 (MooX-Struct-0.016.tar.gz) = 936d136e8287cc0cef83353f933c78b63b766c9f0843a03b0664911d93a78f8ee3a4180df7f30f436f5e30adfd074ceaaa68de7390a2ea0b6365724c8aef2aaa