Update to 0.44

- New upstream release 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}
This commit is contained in:
Paul Howarth 2019-08-15 11:04:04 +01:00
parent 1f297502f1
commit 62b9138893
2 changed files with 16 additions and 6 deletions

View File

@ -5,13 +5,15 @@
%bcond_with perl_Specio_enables_optional_test %bcond_with perl_Specio_enables_optional_test
%endif %endif
# TODO: Use perl(XString) in preference to perl(B) if it becomes available
Name: perl-Specio Name: perl-Specio
Version: 0.43 Version: 0.44
Release: 5%{?dist} Release: 1%{?dist}
Summary: Type constraints and coercions for Perl Summary: Type constraints and coercions for Perl
License: Artistic 2.0 License: Artistic 2.0
URL: https://metacpan.org/release/Specio 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 BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
@ -66,6 +68,7 @@ BuildRequires: perl(namespace::autoclean)
%endif %endif
# Dependencies # Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(B)
Requires: perl(Ref::Util) >= 0.112 Requires: perl(Ref::Util) >= 0.112
Requires: perl(Sub::Util) >= 1.40 Requires: perl(Sub::Util) >= 1.40
@ -98,10 +101,10 @@ types.
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make install DESTDIR=%{buildroot} %{make_install}
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
@ -157,6 +160,13 @@ make test
%{_mandir}/man3/Test::Specio.3* %{_mandir}/man3/Test::Specio.3*
%changelog %changelog
* Thu Aug 15 2019 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 0.43-5 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.43-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Specio-0.43.tar.gz) = 6523fab79df4a66824da554ee86d6bad1953a4e542a7ef09d1b0727b7449f54e903234ba34587a52592c7397b51cd6d2ae9c555813e121aa7096d60a90998274 SHA512 (Specio-0.44.tar.gz) = 5292927383ff3eef3c32a81188a108c009367644117af23b31665550cc4b51d47f0bc0c6791dce3caebb27cd7a92307370f41afe62b65682205cd91b7e99cd43