commit c19a3872e1427942932907f4ddd1c5b51fa6130d Author: tigro Date: Tue Dec 17 16:44:41 2024 +0300 import perl-Lexical-SealRequireHints-0.012-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f6b7a58 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Lexical-SealRequireHints-0.012.tar.gz diff --git a/.perl-Lexical-SealRequireHints.metadata b/.perl-Lexical-SealRequireHints.metadata new file mode 100644 index 0000000..cf4b5c9 --- /dev/null +++ b/.perl-Lexical-SealRequireHints.metadata @@ -0,0 +1 @@ +72fad7ac326d7b6b6b09dc83e95d4e11f6171c0f SOURCES/Lexical-SealRequireHints-0.012.tar.gz diff --git a/SPECS/perl-Lexical-SealRequireHints.spec b/SPECS/perl-Lexical-SealRequireHints.spec new file mode 100644 index 0000000..00d1c94 --- /dev/null +++ b/SPECS/perl-Lexical-SealRequireHints.spec @@ -0,0 +1,196 @@ +# Run optional tests +%bcond_without perl_Lexical_SealRequireHints_enables_optional_test + +Name: perl-Lexical-SealRequireHints +Version: 0.012 +Release: 1%{?dist} +Summary: Prevent leakage of lexical hints +License: GPL-1.0-or-later OR Artistic-1.0-Perl +URL: https://metacpan.org/release/Lexical-SealRequireHints +Source0: https://cpan.metacpan.org/modules/by-module/Lexical/Lexical-SealRequireHints-%{version}.tar.gz +# Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::CBuilder) >= 0.15 +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests +BuildRequires: perl(AutoLoader) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(Test::More) >= 0.41 +BuildRequires: perl(XSLoader) +%if %{with perl_Lexical_SealRequireHints_enables_optional_test} +# Optional tests +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Thread::Semaphore) +BuildRequires: perl(threads) +BuildRequires: perl(threads::shared) +%endif +# Dependencies +Conflicts: perl(B:Hooks::OP::Check) < 0.19 + +%{?perl_default_filter} + +%description +This module works around two historical bugs in Perl's handling of the %%^H +(lexical hints) variable. One bug causes lexical state in one file to leak +into another that is required/used from it. This bug [perl #68590], was +present from Perl 5.6 up to Perl 5.10, fixed in Perl 5.11.0. The second bug +causes lexical state (normally a blank %%^H once the first bug is fixed) to +leak outwards from utf8.pm, if it is automatically loaded during Unicode +regular expression matching, into whatever source is compiling at the time +of the regexp match. This bug [perl #73174], was present from Perl 5.8.7 +up to Perl 5.11.5, fixed in Perl 5.12.0. + +%prep +%setup -q -n Lexical-SealRequireHints-%{version} + +%build +perl Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS" +./Build + +%install +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -delete +%{_fixperms} -c $RPM_BUILD_ROOT + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorarch}/auto/Lexical/ +%{perl_vendorarch}/Lexical/ +%{_mandir}/man3/Lexical::SealRequireHints.3* + +%changelog +* Tue Dec 17 2024 Arkady L. Shane - 0.012-1 +- Rebuilt for MSVSphere 10 + +* Sat Mar 11 2023 Paul Howarth - 0.012-1 +- Update to 0.012 (see Changes for details) (rhbz#2177338) +- Make %%files list more explicit + +* Fri Jan 20 2023 Fedora Release Engineering - 0.011-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.011-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue May 31 2022 Jitka Plesnikova - 0.011-19 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.011-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.011-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 0.011-16 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.011-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.011-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 0.011-13 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.011-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.011-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 0.011-10 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.011-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.011-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.011-7 +- Perl 5.28 rebuild + +* Thu Mar 1 2018 Paul Howarth - 0.011-6 +- Arch-specific package using Module::Build needs to use ExtUtils::CBuilder + (https://bugzilla.redhat.com/show_bug.cgi?id=1547165#c7) +- Drop explicit gcc build-require as EU::CB is effectively our compiler here +- Add build-require coreutils for %%{_fixperms} +- Simplify find command using -empty + +* Mon Feb 19 2018 Jitka Plesnikova - 0.011-5 +- Add build-require gcc + +* Thu Feb 08 2018 Fedora Release Engineering - 0.011-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.011-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.011-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 17 2017 Jitka Plesnikova - 0.011-1 +- 0.011 bump + +* Sun Jun 04 2017 Jitka Plesnikova - 0.010-4 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.010-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.010-2 +- Perl 5.24 rebuild + +* Fri Mar 18 2016 Jitka Plesnikova - 0.010-1 +- 0.010 bump + +* Thu Feb 04 2016 Fedora Release Engineering - 0.009-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.009-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 0.009-2 +- Perl 5.22 rebuild + +* Mon Mar 23 2015 Jitka Plesnikova - 0.009-1 +- 0.009 bump + +* Wed Aug 27 2014 Jitka Plesnikova - 0.007-9 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 0.007-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.007-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.007-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 20 2013 Petr Pisar - 0.007-5 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.007-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.007-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 0.007-2 +- Perl 5.16 rebuild + +* Tue May 22 2012 Jitka Plesnikova 0.007-1 +- Specfile autogenerated by cpanspec 1.78.