|
|
|
Name: perl-autobox
|
|
|
|
Version: 2.85
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Call methods on native types
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/autobox/
|
|
|
|
Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/autobox-%{version}.tar.gz
|
|
|
|
# Build:
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Scope::Guard) >= 0.20
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Dependencies:
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
Requires: perl(Scope::Guard) >= 0.20
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Scope::Guard\\)$
|
|
|
|
|
|
|
|
%description
|
|
|
|
The autobox pragma allows methods to be called on integers, floats,
|
|
|
|
strings, arrays, hashes, and code references in exactly the same manner as
|
|
|
|
blessed references.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n autobox-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorarch}/auto/autobox/
|
|
|
|
%{perl_vendorarch}/autobox/
|
|
|
|
%{perl_vendorarch}/autobox.pm
|
|
|
|
%doc %{perl_vendorarch}/autobox.pod
|
|
|
|
%{_mandir}/man3/autobox.3*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.85-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.85-2
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
* Tue Feb 28 2017 Paul Howarth <paul@city-fan.org> - 2.85-1
|
|
|
|
- Update to 2.85
|
|
|
|
- Fix failing test under 5.25.10 with -Ddefault_inc_excludes_dot
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.84-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Aug 30 2016 Paul Howarth <paul@city-fan.org> - 2.84-1
|
|
|
|
- Update to 2.84
|
|
|
|
- Compatibility fix for perl ≥ 5.25
|
|
|
|
- Update ppport.h from 3.20 to 3.35
|
|
|
|
- Add .travis.yml
|
|
|
|
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.83-6
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
* Tue Apr 19 2016 Paul Howarth <paul@city-fan.org> - 2.83-5
|
|
|
|
- Fix FTBFS due to missing buildreq perl-devel
|
|
|
|
- Simplify find command using -empty and -delete
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.83-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.83-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.83-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Wed Feb 04 2015 Petr Šabata <contyk@redhat.com> - 2.83-1
|
|
|
|
- 2.83 bump
|
|
|
|
|
|
|
|
* Fri Dec 05 2014 Petr Pisar <ppisar@redhat.com> - 2.82-1
|
|
|
|
- 2.82 bump
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.77-7
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.77-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.77-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.77-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 2.77-3
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.77-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 04 2013 Iain Arnell <iarnell@gmail.com> 2.77-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
* Fri Dec 07 2012 Iain Arnell <iarnell@gmail.com> 2.76-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.75-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.75-3
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.75-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Aug 14 2011 Iain Arnell <iarnell@gmail.com> 2.75-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> 2.73-3
|
|
|
|
- update filters for rpm 4.9
|
|
|
|
|
|
|
|
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.73-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Sat May 07 2011 Iain Arnell <iarnell@gmail.com> 2.73-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
* Sat Feb 19 2011 Iain Arnell <iarnell@gmail.com> 2.71-3
|
|
|
|
- update requires filtering to use standard macros
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Dec 17 2010 Iain Arnell <iarnell@gmail.com> 2.71-1
|
|
|
|
- update to latest upstream version
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
|
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.55-6
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
|
|
|
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.55-5
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.55-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.55-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.55-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Feb 04 2009 Allisson Azevedo <allisson@gmail.com> 2.55-1
|
|
|
|
- Initial rpm release.
|