diff --git a/perl-Specio.spec b/perl-Specio.spec index 6f4ee9b..e4837fd 100644 --- a/perl-Specio.spec +++ b/perl-Specio.spec @@ -5,13 +5,15 @@ %bcond_with perl_Specio_enables_optional_test %endif +# TODO: Use perl(XString) in preference to perl(B) if it becomes available + Name: perl-Specio -Version: 0.43 -Release: 5%{?dist} +Version: 0.44 +Release: 1%{?dist} Summary: Type constraints and coercions for Perl License: Artistic 2.0 URL: https://metacpan.org/release/Specio -Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Test/Specio-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils @@ -66,6 +68,7 @@ BuildRequires: perl(namespace::autoclean) %endif # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(B) Requires: perl(Ref::Util) >= 0.112 Requires: perl(Sub::Util) >= 1.40 @@ -98,10 +101,10 @@ types. %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 -make %{?_smp_mflags} +%{make_build} %install -make install DESTDIR=%{buildroot} +%{make_install} %{_fixperms} -c %{buildroot} %check @@ -157,6 +160,13 @@ make test %{_mandir}/man3/Test::Specio.3* %changelog +* Thu Aug 15 2019 Paul Howarth - 0.44-1 +- Update to 0.44 + - Replaced the use of B with XString if it is installed; the latter is much + smaller and provides the one subroutine from B we cared about (based on + GH#15) +- Use %%{make_build} and %%{make_install} + * Fri Jul 26 2019 Fedora Release Engineering - 0.43-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 1966da7..6b398b2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Specio-0.43.tar.gz) = 6523fab79df4a66824da554ee86d6bad1953a4e542a7ef09d1b0727b7449f54e903234ba34587a52592c7397b51cd6d2ae9c555813e121aa7096d60a90998274 +SHA512 (Specio-0.44.tar.gz) = 5292927383ff3eef3c32a81188a108c009367644117af23b31665550cc4b51d47f0bc0c6791dce3caebb27cd7a92307370f41afe62b65682205cd91b7e99cd43