|
|
|
@ -5,10 +5,10 @@
|
|
|
|
|
|
|
|
|
|
Name: perl-%{cpan_name}
|
|
|
|
|
Epoch: 2
|
|
|
|
|
Version: 7.70
|
|
|
|
|
Release: 512%{?dist}
|
|
|
|
|
Version: 7.60
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Create a module Makefile
|
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
# Do not set RPATH to perl shared-library modules by default. Bug #773622.
|
|
|
|
@ -77,11 +77,14 @@ BuildRequires: perl(utf8)
|
|
|
|
|
%if %{with perl_ExtUtils_MakeMaker_enables_optional_test}
|
|
|
|
|
# Optional tests
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
|
BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
|
|
BuildRequires: perl(PerlIO)
|
|
|
|
|
# Keep YAML optional
|
|
|
|
|
# Keep YAML::Tiny optional
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(B)
|
|
|
|
|
Recommends: perl(CPAN::Meta) >= 2.143240
|
|
|
|
|
Suggests: perl(CPAN::Meta::Converter) >= 2.141170
|
|
|
|
|
# CPAN::Meta::Requirements to support version ranges
|
|
|
|
@ -122,7 +125,7 @@ Recommends: gcc
|
|
|
|
|
# Do not export underspecified dependencies
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\s*$
|
|
|
|
|
# Do not export private redefinitions
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((DynaLoader|ExtUtils::MakeMaker::_version)\\)
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DynaLoader|ExtUtils::MakeMaker::_version\\)
|
|
|
|
|
|
|
|
|
|
# Filter modules bundled for tests
|
|
|
|
|
%global __requires_exclude %{__requires_exclude}|^perl\\(MY)\s*$
|
|
|
|
@ -138,8 +141,9 @@ Dougherty and the perl5-porters.
|
|
|
|
|
|
|
|
|
|
%package -n perl-ExtUtils-Command
|
|
|
|
|
Summary: Perl routines to replace common UNIX commands in Makefiles
|
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Requires: perl(File::Copy)
|
|
|
|
|
Requires: perl(File::Find)
|
|
|
|
@ -154,8 +158,9 @@ easier to deal with in Makefiles.
|
|
|
|
|
|
|
|
|
|
%package -n perl-ExtUtils-MM-Utils
|
|
|
|
|
Summary: ExtUtils::MM methods without dependency on ExtUtils::MakeMaker
|
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description -n perl-ExtUtils-MM-Utils
|
|
|
|
|
This is a collection of ExtUtils::MM subroutines that are used by many
|
|
|
|
@ -176,6 +181,7 @@ Requires: perl(version)
|
|
|
|
|
%if %{with perl_ExtUtils_MakeMaker_enables_optional_test}
|
|
|
|
|
# Optional tests
|
|
|
|
|
Requires: perl-devel
|
|
|
|
|
Requires: perl(B)
|
|
|
|
|
Requires: perl(ExtUtils::CBuilder)
|
|
|
|
|
Requires: perl(PerlIO)
|
|
|
|
|
%endif
|
|
|
|
@ -186,11 +192,11 @@ with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n ExtUtils-MakeMaker-%{version}
|
|
|
|
|
%patch -P0 -p1
|
|
|
|
|
%patch -P1 -p1
|
|
|
|
|
%patch -P2 -p1
|
|
|
|
|
%patch -P3 -p1
|
|
|
|
|
%patch -P4 -p1
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
# Remove bundled modules
|
|
|
|
|
rm -rf bundled
|
|
|
|
|
perl -i -ne 'print $_ unless m{^bundled/}' MANIFEST
|
|
|
|
@ -211,7 +217,11 @@ perl -i -ne 'print $_ unless m{^t/unicode\.t}' MANIFEST
|
|
|
|
|
|
|
|
|
|
# Help file to recognise the Perl scripts and normalize shebangs
|
|
|
|
|
for F in `find t -name *.t`; do
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
@ -239,7 +249,7 @@ rm -rf "$DIR"
|
|
|
|
|
EOF
|
|
|
|
|
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
|
|
@ -272,74 +282,12 @@ make test
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2:7.70-512
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2:7.60-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Aug 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.70-512
|
|
|
|
|
- Fix filters of dependencies
|
|
|
|
|
|
|
|
|
|
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.70-511
|
|
|
|
|
- Perl 5.40 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.70-510
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2:7.70-504
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.70-503
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.70-502
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.70-501
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.70-500
|
|
|
|
|
- Perl 5.38 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.70-499
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Mon Mar 27 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.70-1
|
|
|
|
|
- 7.70 bump
|
|
|
|
|
|
|
|
|
|
* Mon Mar 20 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.68-1
|
|
|
|
|
- 7.68 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.66-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 02 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.66-1
|
|
|
|
|
- 7.66 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.64-490
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.64-489
|
|
|
|
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.64-488
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.64-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 20 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.64-1
|
|
|
|
|
- 7.64 bump
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.62-479
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.62-478
|
|
|
|
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.62-477
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Wed Apr 14 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.62-1
|
|
|
|
|
- 7.62 bump
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:7.60-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Fri Feb 19 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2:7.60-1
|
|
|
|
|
- 7.60 bump
|
|
|
|
|