|
|
@ -1,30 +1,36 @@
|
|
|
|
|
|
|
|
# Run optional test
|
|
|
|
|
|
|
|
%bcond_without perl_Module_CoreList_enables_optional_test
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Module-CoreList
|
|
|
|
Name: perl-Module-CoreList
|
|
|
|
# Epoch to compete with perl.spec
|
|
|
|
# Epoch to compete with perl.spec
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 5.20210320
|
|
|
|
Version: 5.20181130
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: What modules are shipped with versions of perl
|
|
|
|
Summary: What modules are shipped with versions of perl
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Module-CoreList
|
|
|
|
URL: https://metacpan.org/release/Module-CoreList
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# File::Copy not used
|
|
|
|
# File::Copy not used
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
# feature not used at tests
|
|
|
|
# feature not used at tests
|
|
|
|
# Getopt::Long not used at tests
|
|
|
|
# Getopt::Long not used at tests
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
# Pod::Usage not used at tests
|
|
|
|
# Pod::Usage not used at tests
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(version) >= 0.88
|
|
|
|
BuildRequires: perl(version) >= 0.88
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
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(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(List::Util)
|
|
|
|
Requires: perl(List::Util)
|
|
|
|
Requires: perl(version) >= 0.88
|
|
|
|
Requires: perl(version) >= 0.88
|
|
|
@ -49,55 +55,20 @@ Conflicts: perl-Module-CoreList < 1:5.20140914
|
|
|
|
This package provides a corelist(1) tool which can be used to query what
|
|
|
|
This package provides a corelist(1) tool which can be used to query what
|
|
|
|
modules were shipped with given perl version.
|
|
|
|
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
|
|
|
|
%prep
|
|
|
|
%setup -q -n Module-CoreList-%{version}
|
|
|
|
%setup -q -n Module-CoreList-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# Help file to recognise the Perl scripts and normalize shebangs
|
|
|
|
|
|
|
|
for F in t/*.t; do
|
|
|
|
|
|
|
|
if head -1 "$F" | grep -q -e '^#!.*perl' ; then
|
|
|
|
|
|
|
|
perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' "$F"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove release tests
|
|
|
|
|
|
|
|
rm t/pod.t
|
|
|
|
|
|
|
|
perl -i -ne 'print $_ unless m{^t/pod\.t}' MANIFEST
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
%{make_build}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
# Install tests
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cp -a t %{buildroot}/%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
unset PERL_CORE
|
|
|
|
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
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -110,174 +81,16 @@ make test
|
|
|
|
%{_bindir}/corelist
|
|
|
|
%{_bindir}/corelist
|
|
|
|
%{_mandir}/man1/corelist.*
|
|
|
|
%{_mandir}/man1/corelist.*
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:5.20210320-3
|
|
|
|
* Fri Dec 07 2018 Jitka Plesnikova <jplesnik@redhat.com> - 5.20181130-1
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- 5.20181130 bump (bug #1656038)
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:5.20210320-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20210320-1
|
|
|
|
|
|
|
|
- 5.20210320 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20210220-1
|
|
|
|
|
|
|
|
- 5.20210220 bump
|
|
|
|
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.20210123-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20210123-1
|
|
|
|
|
|
|
|
- 5.20210123 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20210120-1
|
|
|
|
|
|
|
|
- 5.20210120 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 21 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20201220-1
|
|
|
|
|
|
|
|
- 5.20201220 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 20 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20201120-1
|
|
|
|
|
|
|
|
- 5.20201120 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 21 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20201020-1
|
|
|
|
|
|
|
|
- 5.20201020 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 21 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20200920-1
|
|
|
|
|
|
|
|
- 5.20200920 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 21 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200820-1
|
|
|
|
|
|
|
|
- 5.20200820 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.20200717-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 20 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200717-1
|
|
|
|
|
|
|
|
- 5.20200717 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20200620-457
|
|
|
|
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20200620-456
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200620-1
|
|
|
|
|
|
|
|
- 5.20200620 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 09 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200603-1
|
|
|
|
|
|
|
|
- 5.20200603 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 02 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200602-1
|
|
|
|
|
|
|
|
- 5.20200602 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 29 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200428-1
|
|
|
|
|
|
|
|
- 5.20200428 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 23 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200320-1
|
|
|
|
|
|
|
|
- 5.20200320 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 16 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200314-1
|
|
|
|
|
|
|
|
- 5.20200314 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 21 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200220-1
|
|
|
|
|
|
|
|
- 5.20200220 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.20200120-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 21 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20200120-1
|
|
|
|
|
|
|
|
- 5.20200120 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 02 2020 Petr Pisar <ppisar@redhat.com> - 1:5.20191220-1
|
|
|
|
|
|
|
|
- 5.20191220 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 21 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20191120-1
|
|
|
|
|
|
|
|
- 5.20191120 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 11 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20191110-1
|
|
|
|
|
|
|
|
- 5.20191110 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 21 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20191020-1
|
|
|
|
|
|
|
|
- 5.20191020 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 23 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190920-1
|
|
|
|
|
|
|
|
- 5.20190920 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 21 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190820-1
|
|
|
|
|
|
|
|
- 5.20190820 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.20190720-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 22 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190720-1
|
|
|
|
|
|
|
|
- 5.20190720 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 21 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190620-1
|
|
|
|
|
|
|
|
- 5.20190620 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20190524-3
|
|
|
|
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20190524-2
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 27 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190524-1
|
|
|
|
|
|
|
|
- 5.20190524 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 22 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190522-1
|
|
|
|
|
|
|
|
- 5.20190522 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 23 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190420-1
|
|
|
|
|
|
|
|
- 5.20190420 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 21 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190320-1
|
|
|
|
|
|
|
|
- 5.20190320 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 21 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190220-1
|
|
|
|
|
|
|
|
- 5.20190220 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.20190120-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 21 2019 Petr Pisar <ppisar@redhat.com> - 1:5.20190120-1
|
|
|
|
|
|
|
|
- 5.20190120 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 19 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20181218-1
|
|
|
|
|
|
|
|
- 5.20181218 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 03 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20181130-1
|
|
|
|
|
|
|
|
- 5.20181130 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 21 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20181120-1
|
|
|
|
|
|
|
|
- 5.20181120 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20181020-1
|
|
|
|
|
|
|
|
- 5.20181020 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 21 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20180920-1
|
|
|
|
|
|
|
|
- 5.20180920 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 21 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20180820-1
|
|
|
|
|
|
|
|
- 5.20180820 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20180720-1
|
|
|
|
* Mon Jul 23 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20180720-1
|
|
|
|
- 5.20180720 bump
|
|
|
|
- 5.20180720 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.20180626-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20180626-2
|
|
|
|
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20180626-1
|
|
|
|
* Thu Jun 28 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20180626-1
|
|
|
|
- 5.20180626 bump
|
|
|
|
- 5.20180626 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.20180622-416
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 25 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20180622-1
|
|
|
|
* Mon Jun 25 2018 Petr Pisar <ppisar@redhat.com> - 1:5.20180622-1
|
|
|
|
- 5.20180622 bump
|
|
|
|
- 5.20180622 bump
|
|
|
|
|
|
|
|
|
|
|
|