From dac751e657641519500cc6d703a1937bc22c0a88 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 17:47:29 +0000 Subject: [PATCH] import UBI perl-Module-CoreList-5.20250120-1.el10 --- .gitignore | 2 +- .perl-Module-CoreList.metadata | 1 - ...CoreList.spec => perl-Module-CoreList.spec | 277 +++++++++++++++++- sources | 1 + 4 files changed, 264 insertions(+), 17 deletions(-) delete mode 100644 .perl-Module-CoreList.metadata rename SPECS/perl-Module-CoreList.spec => perl-Module-CoreList.spec (55%) create mode 100644 sources diff --git a/.gitignore b/.gitignore index f7bf59c..e4523f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/Module-CoreList-5.20191220.tar.gz +Module-CoreList-5.20250120.tar.gz diff --git a/.perl-Module-CoreList.metadata b/.perl-Module-CoreList.metadata deleted file mode 100644 index c599b16..0000000 --- a/.perl-Module-CoreList.metadata +++ /dev/null @@ -1 +0,0 @@ -b0c210c5cf2548a2b0e367bd387a927cb0cb670f SOURCES/Module-CoreList-5.20191220.tar.gz diff --git a/SPECS/perl-Module-CoreList.spec b/perl-Module-CoreList.spec similarity index 55% rename from SPECS/perl-Module-CoreList.spec rename to perl-Module-CoreList.spec index d7c8bd7..2b5835a 100644 --- a/SPECS/perl-Module-CoreList.spec +++ b/perl-Module-CoreList.spec @@ -1,37 +1,30 @@ -# Run optional test -%bcond_without perl_Module_CoreList_enables_optional_test - Name: perl-Module-CoreList # Epoch to compete with perl.spec Epoch: 1 -Version: 5.20191220 +Version: 5.20250120 Release: 1%{?dist} Summary: What modules are shipped with versions of perl -License: GPL+ or Artistic +License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Module-CoreList Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz BuildArch: noarch +BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # File::Copy not used +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Run-time: # feature not used at tests # Getopt::Long not used at tests BuildRequires: perl(List::Util) # Pod::Usage not used at tests -BuildRequires: perl(strict) BuildRequires: perl(version) >= 0.88 -BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Test::More) -# Optional tests: -%if %{with perl_Module_CoreList_enables_optional_test} && !%{defined perl_bootstrap} -BuildRequires: perl(Test::Pod) >= 1.00 -%endif -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(List::Util) Requires: perl(version) >= 0.88 @@ -55,33 +48,287 @@ Conflicts: perl-Module-CoreList < 1:5.20140914 This package provides a corelist(1) tool which can be used to query what modules were shipped with given perl version. +%package tests +Summary: Tests for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-tools = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: perl-Test-Harness + +%description tests +Tests from %{name}-%{version}. Execute them +with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Module-CoreList-%{version} +# Help file to recognise the Perl scripts and normalize shebangs +for F in t/*.t; do + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" + chmod +x "$F" +done + %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} %{buildroot}/* + +# Install tests +mkdir -p %{buildroot}/%{_libexecdir}/%{name} +cp -a t %{buildroot}/%{_libexecdir}/%{name} +rm -f %{buildroot}/%{_libexecdir}/%{name}/t/pod.t +cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF' +#!/bin/sh +unset PERL_CORE +cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" +EOF +chmod +x %{buildroot}/%{_libexecdir}/%{name}/test %check unset PERL_CORE +export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/Module +%{_mandir}/man3/Module::CoreList* %files tools %doc README %{_bindir}/corelist %{_mandir}/man1/corelist.* +%files tests +%{_libexecdir}/%{name} + %changelog +* Thu Jan 23 2025 Jitka Plesnikova - 1:5.20250120-1 +- Resolves: RHEL-75799 - 5.20250120 bump + +* Tue Oct 29 2024 Troy Dawson - 1:5.20240702-3 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Thu Jul 18 2024 Jitka Plesnikova - 1:5.20240702-2 +- Perl 5.40 rebuild + +* Thu Jul 18 2024 Jitka Plesnikova - 1:5.20240702-1 +- 5.20240702 bump + +* Mon Jun 24 2024 Troy Dawson - 1:5.20240129-2 +- Bump release for June 2024 mass rebuild + +* Tue Jan 30 2024 Jitka Plesnikova - 1:5.20240129-1 +- 5.20240129 bump (rhbz#2261642) + +* Thu Jan 25 2024 Fedora Release Engineering - 1:5.20231230-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1:5.20231230-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 03 2024 Jitka Plesnikova - 1:5.20231230-1 +- 5.20231230 bump (rhbz#2256323) + +* Fri Dec 01 2023 Jitka Plesnikova - 1:5.20231129-1 +- 5.20231129 bump (rhbz#2252137) + +* Mon Nov 20 2023 Jitka Plesnikova - 1:5.20231120-1 +- 5.20231120 bump (rhbz#2250650) + +* Thu Oct 26 2023 Jitka Plesnikova - 1:5.20231025-1 +- 5.20231025 bump (rhbz#2246230) + +* Thu Sep 21 2023 Jitka Plesnikova - 1:5.20230920-1 +- 5.20230920 bump (rhbz#2239940) + +* Tue Aug 22 2023 Jitka Plesnikova - 1:5.20230820-1 +- 5.20230820 bump (rhbz#2233000) + +* Fri Jul 21 2023 Jitka Plesnikova - 1:5.20230720-1 +- 5.20230720 bump (rhbz#2224451) + +* Thu Jul 20 2023 Fedora Release Engineering - 1:5.20230520-500 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Jitka Plesnikova - 1:5.20230520-499 +- Increase release to favour standalone package + +* Mon Jul 10 2023 Jitka Plesnikova - 1:5.20230520-1 +- 5.20230520 bump + +* Mon Apr 24 2023 Jitka Plesnikova - 1:5.20230423-1 +- 5.20230423 bump + +* Wed Mar 22 2023 Jitka Plesnikova - 1:5.20230320-1 +- 5.20230320 bump + +* Tue Feb 21 2023 Jitka Plesnikova - 1:5.20230220-1 +- 5.20230220 bump + +* Wed Jan 25 2023 Jitka Plesnikova - 1:5.20230120-1 +- 5.20230120 bump + +* Fri Jan 20 2023 Fedora Release Engineering - 1:5.20221220-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Dec 22 2022 Jitka Plesnikova - 1:5.20221220-1 +- 5.20221220 bump + +* Mon Nov 21 2022 Jitka Plesnikova - 1:5.20221120-1 +- 5.20221120 bump + +* Fri Oct 21 2022 Jitka Plesnikova - 1:5.20221020-1 +- 5.20221020 bump + +* Wed Sep 21 2022 Jitka Plesnikova - 1:5.20220920-1 +- 5.20220920 bump + +* Mon Aug 22 2022 Jitka Plesnikova - 1:5.20220820-1 +- 5.20220820 bump + +* Thu Jul 21 2022 Jitka Plesnikova - 1:5.20220720-1 +- 5.20220720 bump + +* Tue Jun 21 2022 Jitka Plesnikova - 1:5.20220620-1 +- 5.20220620 bump + +* Mon May 30 2022 Jitka Plesnikova - 1:5.20220527-2 +- Perl 5.36 rebuild + +* Mon May 30 2022 Jitka Plesnikova - 1:5.20220527-1 +- 5.20220527 bump + +* Thu Apr 21 2022 Jitka Plesnikova - 1:5.20220420-1 +- 5.20220420 bump + +* Tue Mar 22 2022 Adam Williamson - 1:5.20220320-2 +- Rebuild with no changes to fix update mess on F36 + +* Mon Mar 21 2022 Michal Josef Špaček - 1:5.20220320-1 +- 5.20220320 bump + +* Wed Mar 16 2022 Michal Josef Špaček - 1:5.20220313-1 +- 5.20220313 bump + +* Sun Feb 20 2022 Jitka Plesnikova - 1:5.20220220-1 +- 5.20220220 bump + +* Fri Jan 21 2022 Jitka Plesnikova - 1:5.20220120-1 +- 5.20220120 bump + +* Fri Jan 21 2022 Fedora Release Engineering - 1:5.20211220-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Dec 21 2021 Jitka Plesnikova - 1:5.20211220-1 +- 5.20211220 bump + +* Mon Nov 22 2021 Jitka Plesnikova - 1:5.20211120-1 +- 5.20211120 bump + +* Mon Oct 25 2021 Jitka Plesnikova - 1:5.20211020-1 +- 5.20211020 bump + +* Tue Sep 21 2021 Jitka Plesnikova - 1:5.20210920-1 +- 5.20210920 bump + +* Mon Aug 23 2021 Jitka Plesnikova - 1:5.20210820-1 +- 5.20210820 bump + +* Mon Aug 02 2021 Jitka Plesnikova - 1:5.20210723-1 +- 5.20210723 bump + +* Thu Jul 22 2021 Fedora Release Engineering - 1:5.20210620-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 22 2021 Jitka Plesnikova - 1:5.20210620-1 +- 5.20210620 bump + +* Tue May 25 2021 Jitka Plesnikova - 1:5.20210521-1 +- 5.20210521 bump + +* Fri May 21 2021 Jitka Plesnikova - 1:5.20210520-2 +- Perl 5.34 rebuild + +* Fri May 21 2021 Jitka Plesnikova - 1:5.20210520-1 +- 5.20210520 bump + +* Wed Apr 21 2021 Jitka Plesnikova - 1:5.20210420-1 +- 5.20210420 bump + +* Sun Mar 21 2021 Jitka Plesnikova - 1:5.20210320-1 +- 5.20210320 bump + +* Mon Feb 22 2021 Jitka Plesnikova - 1:5.20210220-1 +- 5.20210220 bump +- Package tests + +* Wed Jan 27 2021 Fedora Release Engineering - 1:5.20210123-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 25 2021 Jitka Plesnikova - 1:5.20210123-1 +- 5.20210123 bump + +* Thu Jan 21 2021 Jitka Plesnikova - 1:5.20210120-1 +- 5.20210120 bump + +* Mon Dec 21 2020 Jitka Plesnikova - 1:5.20201220-1 +- 5.20201220 bump + +* Fri Nov 20 2020 Petr Pisar - 1:5.20201120-1 +- 5.20201120 bump + +* Wed Oct 21 2020 Jitka Plesnikova - 1:5.20201020-1 +- 5.20201020 bump + +* Mon Sep 21 2020 Jitka Plesnikova - 1:5.20200920-1 +- 5.20200920 bump + +* Fri Aug 21 2020 Petr Pisar - 1:5.20200820-1 +- 5.20200820 bump + +* Tue Jul 28 2020 Fedora Release Engineering - 1:5.20200717-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Petr Pisar - 1:5.20200717-1 +- 5.20200717 bump + +* Fri Jun 26 2020 Jitka Plesnikova - 1:5.20200620-457 +- Perl 5.32 re-rebuild of bootstrapped packages + +* Mon Jun 22 2020 Jitka Plesnikova - 1:5.20200620-456 +- Increase release to favour standalone package + +* Mon Jun 22 2020 Petr Pisar - 1:5.20200620-1 +- 5.20200620 bump + +* Tue Jun 09 2020 Petr Pisar - 1:5.20200603-1 +- 5.20200603 bump + +* Tue Jun 02 2020 Petr Pisar - 1:5.20200602-1 +- 5.20200602 bump + +* Wed Apr 29 2020 Petr Pisar - 1:5.20200428-1 +- 5.20200428 bump + +* Mon Mar 23 2020 Petr Pisar - 1:5.20200320-1 +- 5.20200320 bump + +* Mon Mar 16 2020 Petr Pisar - 1:5.20200314-1 +- 5.20200314 bump + +* Fri Feb 21 2020 Petr Pisar - 1:5.20200220-1 +- 5.20200220 bump + +* Thu Jan 30 2020 Fedora Release Engineering - 1:5.20200120-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 21 2020 Petr Pisar - 1:5.20200120-1 +- 5.20200120 bump + * Thu Jan 02 2020 Petr Pisar - 1:5.20191220-1 - 5.20191220 bump diff --git a/sources b/sources new file mode 100644 index 0000000..bdd9328 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Module-CoreList-5.20250120.tar.gz) = 38d379cbd1df760df88924a7f7ef87f3802809b07f5c7038454a61846b1e72987b403cea8c516c19436088741aec83146a1cc01fb5b4fab4b128d1c5acf95864