diff --git a/.gitignore b/.gitignore index 2d82653..0848bda 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /autobox-2.84.tar.gz /autobox-2.85.tar.gz /autobox-2.86.tar.gz +/autobox-v3.0.1.tar.gz diff --git a/perl-autobox.spec b/perl-autobox.spec index ed3cb1d..b8b2df6 100644 --- a/perl-autobox.spec +++ b/perl-autobox.spec @@ -1,10 +1,10 @@ Name: perl-autobox -Version: 2.86 +Version: 3.0.1 Release: 1%{?dist} Summary: Call methods on native types License: Artistic 2.0 URL: http://search.cpan.org/dist/autobox/ -Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/autobox-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/autobox-v%{version}.tar.gz # Build: BuildRequires: coreutils BuildRequires: findutils @@ -15,8 +15,6 @@ BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 -BuildRequires: perl(strict) -BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) @@ -24,12 +22,16 @@ BuildRequires: perl(Exporter) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scope::Guard) >= 0.21 BuildRequires: perl(Storable) +BuildRequires: perl(strict) +BuildRequires: perl(version) >= 0.77 +BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(blib) BuildRequires: perl(FindBin) BuildRequires: perl(IPC::System::Simple) >= 1.25 BuildRequires: perl(lib) +BuildRequires: perl(Test::Fatal) >= 0.014 BuildRequires: perl(Test::More) BuildRequires: perl(vars) # Optional Tests: @@ -49,7 +51,7 @@ strings, arrays, hashes, and code references in exactly the same manner as blessed references. %prep -%setup -q -n autobox-%{version} +%setup -q -n autobox-v%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 @@ -73,6 +75,19 @@ make test %{_mandir}/man3/autobox.3* %changelog +* Mon May 7 2018 Paul Howarth - 3.0.1-1 +- Update to 3.0.1 + - Breaking change: + - The behaviour of UNIVERSAL methods like $native->can and $native->isa is + now defined as being the same as when autobox is not enabled rather than + "undefined" (technically, this still falls under the rubric of + "undefined", but the switch from "don't know" to "don't" could break + buggy code, so bump for safety) + - Add DOES to the list of non-autoboxed methods + - Switch to semantic versioning scheme + - Upgrade ppport.h from 3.35 → 3.42 + - Fix version declaration on 5.8 (GH#11) + * Mon Apr 23 2018 Paul Howarth - 2.86-1 - Update to 2.86 - Fix bug that prevented autoboxing working under the debugger on perl 5.22+ @@ -105,7 +120,7 @@ make test * Tue Aug 30 2016 Paul Howarth - 2.84-1 - Update to 2.84 - Compatibility fix for perl ≥ 5.25 - - Update ppport.h from 3.20 to 3.35 + - Upgrade ppport.h from 3.20 to 3.35 - Add .travis.yml * Sun May 15 2016 Jitka Plesnikova - 2.83-6 diff --git a/sources b/sources index 52ff4ed..cdb61cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (autobox-2.86.tar.gz) = ab4d41cfddb10a03e6bdb47a81cbf2a41f5c2f518dd674e9af17a3127589d8b4d84d50f4293291517fb24b9c1b022dfcecafd7acf5d0d1e693528353ccc9c186 +SHA512 (autobox-v3.0.1.tar.gz) = 401d5e87e15cf26362a88e5d23d8c9e842b951c03ac7010da2317af5ea897fa1fe2e4862cc5c691f25851fd5ba5398935c27f6d9f87fbc2fe52bb68a25d3d3a0