@ -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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 2.84-1
- Update to 2.84
- Compatibility fix for perl ≥ 5.25
- Updat e ppport.h from 3.20 to 3.35
- Upgra de ppport.h from 3.20 to 3.35
- Add .travis.yml
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.83-6