From b761c6d52e0217d162f1a46ad6887ecc67a2f29a Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 20 Sep 2023 16:02:25 +0300 Subject: [PATCH] import perl-autobox-3.0.1-18.el9 --- .gitignore | 1 + .perl-autobox.metadata | 1 + SPECS/perl-autobox.spec | 276 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 278 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-autobox.metadata create mode 100644 SPECS/perl-autobox.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bcf707f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/autobox-v3.0.1.tar.gz diff --git a/.perl-autobox.metadata b/.perl-autobox.metadata new file mode 100644 index 0000000..5e2f538 --- /dev/null +++ b/.perl-autobox.metadata @@ -0,0 +1 @@ +1f9e9952a9e5371ee5b7703523e6789f389c9ad0 SOURCES/autobox-v3.0.1.tar.gz diff --git a/SPECS/perl-autobox.spec b/SPECS/perl-autobox.spec new file mode 100644 index 0000000..985ef03 --- /dev/null +++ b/SPECS/perl-autobox.spec @@ -0,0 +1,276 @@ +Name: perl-autobox +Version: 3.0.1 +Release: 18%{?dist} +Summary: Call methods on native types +License: Artistic 2.0 +URL: https://metacpan.org/release/autobox +Source0: https://cpan.metacpan.org/modules/by-module/autobox/autobox-v%{version}.tar.gz +# Build: +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) +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-debugger +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: +BuildRequires: perl(Test::Pod) >= 1.00 +# Dependencies: +Requires: perl(Scope::Guard) >= 0.21 + +%{?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-v%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +find %{buildroot} -type f -name '*.bs' -empty -delete +%{_fixperms} -c %{buildroot} + +%check +make test + +%files +%license LICENSE.md +%doc Changes README +%{perl_vendorarch}/auto/autobox/ +%{perl_vendorarch}/autobox/ +%{perl_vendorarch}/autobox.pm +%doc %{perl_vendorarch}/autobox.pod +%{_mandir}/man3/autobox.3* + +%changelog +* Wed Sep 20 2023 Arkady L. Shane - 3.0.1-18 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 3.0.1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 3.0.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue May 31 2022 Jitka Plesnikova - 3.0.1-16 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 3.0.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 3.0.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 3.0.1-13 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 3.0.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.0.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 3.0.1-10 +- Perl 5.32 rebuild + +* Tue Mar 10 2020 Petr Pisar - 3.0.1-9 +- Build-require perl-debugger for tests + +* Thu Jan 30 2020 Fedora Release Engineering - 3.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Nov 6 2019 Paul Howarth - 3.0.1-7 +- Spec tidy-up + - Use author-independent source URL + - Use %%{make_build} and %%{make_install} + +* Fri Jul 26 2019 Fedora Release Engineering - 3.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 3.0.1-5 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 3.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 3.0.1-2 +- Perl 5.28 rebuild + +* 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+ + (GH#9); added t/debugger.t + - Fix bug that prevented bareword method-calls being exempted when the method + is a variable e.g. Foo->$bar (GH#8) + - Add operator-overloading note to the gotchas section (GH#7) +- License changed to Artistic 2.0 +- Drop legacy Group: tag + +* Fri Feb 09 2018 Fedora Release Engineering - 2.85-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 2.85-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.85-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 2.85-2 +- Perl 5.26 rebuild + +* Tue Feb 28 2017 Paul Howarth - 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 - 2.84-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Aug 30 2016 Paul Howarth - 2.84-1 +- Update to 2.84 + - Compatibility fix for perl ≥ 5.25 + - Upgrade ppport.h from 3.20 to 3.35 + - Add .travis.yml + +* Sun May 15 2016 Jitka Plesnikova - 2.83-6 +- Perl 5.24 rebuild + +* Tue Apr 19 2016 Paul Howarth - 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 - 2.83-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 2.83-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 2.83-2 +- Perl 5.22 rebuild + +* Wed Feb 04 2015 Petr Šabata - 2.83-1 +- 2.83 bump + +* Fri Dec 05 2014 Petr Pisar - 2.82-1 +- 2.82 bump + +* Wed Aug 27 2014 Jitka Plesnikova - 2.77-7 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 2.77-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.77-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 2.77-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sun Jul 21 2013 Petr Pisar - 2.77-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.77-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 04 2013 Iain Arnell 2.77-1 +- update to latest upstream version + +* Fri Dec 07 2012 Iain Arnell 2.76-1 +- update to latest upstream version + +* Fri Jul 20 2012 Fedora Release Engineering - 2.75-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 2.75-3 +- Perl 5.16 rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 2.75-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Aug 14 2011 Iain Arnell 2.75-1 +- update to latest upstream version + +* Wed Jul 20 2011 Iain Arnell 2.73-3 +- update filters for rpm 4.9 + +* Tue Jun 21 2011 Marcela Mašláňová - 2.73-2 +- Perl mass rebuild + +* Sat May 07 2011 Iain Arnell 2.73-1 +- update to latest upstream version + +* Sat Feb 19 2011 Iain Arnell 2.71-3 +- update requires filtering to use standard macros + +* Wed Feb 09 2011 Fedora Release Engineering - 2.71-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Dec 17 2010 Iain Arnell 2.71-1 +- update to latest upstream version +- clean up spec for modern rpmbuild + +* Wed Dec 15 2010 Marcela Maslanova - 2.55-6 +- 661697 rebuild for fixing problems with vendorach/lib + +* Thu Apr 29 2010 Marcela Maslanova - 2.55-5 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 2.55-4 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 2.55-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 2.55-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 04 2009 Allisson Azevedo 2.55-1 +- Initial rpm release.