Resolves: RHEL-75798 - 5.40.1 bump
- 5.40.1 bump (see <https://metacpan.org/release/SHAY/perl-5.40.1/view/pod/perldelta.pod>) - Add config.over to make build od perl reproducible - Removed unnecessary conversion - Add new systemtap-sdt-dtrace to build deps
This commit is contained in:
parent
29eb2301fe
commit
006e711132
1
.gitignore
vendored
1
.gitignore
vendored
@ -43,3 +43,4 @@ perl-5.12.1.tar.gz
|
||||
/perl-5.38.0.tar.xz
|
||||
/perl-5.38.2.tar.xz
|
||||
/perl-5.40.0.tar.xz
|
||||
/perl-5.40.1.tar.xz
|
||||
|
21
config.over
Normal file
21
config.over
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$osname" in
|
||||
linux)
|
||||
osvers=6.12.0
|
||||
osdesc="#1 smp preempt_dynamic $osvers"
|
||||
os=gnulinux
|
||||
;;
|
||||
esac
|
||||
|
||||
# set configuration time
|
||||
cf_time=$(LC_ALL=C date --utc -d @$SOURCE_DATE_EPOCH)
|
||||
|
||||
# set generic information for reproducibility
|
||||
myhostname=localhost
|
||||
mydomain=
|
||||
machine_uname=$(uname -m | tr '[A-Z]' '[a-z]' | sed -e "s,['/],,g")
|
||||
|
||||
if [ -n "$osdesc" ]; then
|
||||
myuname="$osname $myhostname $osvers $osdesc $machine_uname $os "
|
||||
fi
|
43
perl.spec
43
perl.spec
@ -1,4 +1,4 @@
|
||||
%global perl_version 5.40.0
|
||||
%global perl_version 5.40.1
|
||||
%global perl_epoch 4
|
||||
%global perl_arch_stem -thread-multi
|
||||
%global perl_archname %{_arch}-%{_os}%{perl_arch_stem}
|
||||
@ -13,7 +13,10 @@
|
||||
# This overrides filters from build root (/usr/lib/rpm/macros.d/macros.perl)
|
||||
# intentionally (unversioned perl(DB) is removed and versioned one is kept).
|
||||
# Filter provides from *.pl files, bug #924938
|
||||
%global __provides_exclude_from .*%{_docdir}|.*%{perl_archlib}/.*\\.pl$|.*%{perl_privlib}/.*\\.pl$
|
||||
%global __provides_exclude_from .*%{_docdir}
|
||||
%if %{defined perl_archlib}
|
||||
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}.*%{perl_archlib}/.*\\.pl$|.*%{perl_privlib}/.*\\.pl$
|
||||
%endif
|
||||
%global __requires_exclude_from %{_docdir}
|
||||
%global __provides_exclude perl\\((VMS|Win32|BSD::|DB\\)$)
|
||||
%global __requires_exclude perl\\((VMS|BSD::|Win32|Tk|Mac::|Your::Module::Here)
|
||||
@ -114,7 +117,7 @@ License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
Epoch: %{perl_epoch}
|
||||
Version: %{perl_version}
|
||||
# release number must be even higher, because dual-lived modules will be broken otherwise
|
||||
Release: 511%{?dist}
|
||||
Release: 512%{?dist}
|
||||
Summary: Practical Extraction and Report Language
|
||||
Url: https://www.perl.org/
|
||||
Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz
|
||||
@ -133,6 +136,8 @@ Source7: gendep.macros
|
||||
%if %{defined perl_bootstrap}
|
||||
%include %{SOURCE7}
|
||||
%endif
|
||||
# Use config.over to make build of perl reproducible
|
||||
Source8: config.over
|
||||
|
||||
# Removes date check, Fedora/RHEL specific
|
||||
Patch1: perl-perlbug-tag.patch
|
||||
@ -215,6 +220,7 @@ BuildRequires: perl-generators
|
||||
BuildRequires: sed
|
||||
%if %{with perl_enables_systemtap}
|
||||
BuildRequires: systemtap-sdt-devel
|
||||
BuildRequires: systemtap-sdt-dtrace
|
||||
%endif
|
||||
BuildRequires: tar
|
||||
%if %{with perl_enables_tcsh}
|
||||
@ -240,7 +246,7 @@ BuildRequires: rsyslog
|
||||
|
||||
|
||||
# compat macro needed for rebuild
|
||||
%global perl_compat perl(:MODULE_COMPAT_5.40.0)
|
||||
%global perl_compat perl(:MODULE_COMPAT_5.40.1)
|
||||
|
||||
Requires: %perl_compat
|
||||
Requires: perl-interpreter%{?_isa} = %{perl_epoch}:%{perl_version}-%{release}
|
||||
@ -423,7 +429,7 @@ Summary: The libraries for the perl run-time
|
||||
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Martin-Birgmeier AND Spencer-86 AND MIT AND Unicode-3.0 AND LicenseRef-Fedora-Public-Domain
|
||||
# Compat provides
|
||||
Provides: %perl_compat
|
||||
#Provides: perl(:MODULE_COMPAT_5.40.0)
|
||||
Provides: perl(:MODULE_COMPAT_5.40.0)
|
||||
# Interpreter version to fulfil required genersted from "require 5.006;"
|
||||
Provides: perl(:VERSION) = %{perl_version}
|
||||
# Integeres are 64-bit on all platforms
|
||||
@ -478,6 +484,7 @@ Summary: Header files for use in perl development
|
||||
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0
|
||||
%if %{with perl_enables_systemtap}
|
||||
Requires: systemtap-sdt-devel
|
||||
Requires: systemtap-sdt-dtrace
|
||||
%endif
|
||||
Requires: perl(ExtUtils::ParseXS)
|
||||
# Match library and header files when downgrading releases
|
||||
@ -2730,7 +2737,7 @@ encoder/decoder. These encoding methods are specified in RFC 2045 - MIME
|
||||
Summary: What modules are shipped with versions of perl
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
Epoch: 1
|
||||
Version: 5.20240609
|
||||
Version: 5.20250118
|
||||
Requires: perl(List::Util)
|
||||
Requires: perl(version) >= 0.88
|
||||
%if %{defined perl_bootstrap}
|
||||
@ -2747,7 +2754,7 @@ are shipped with each version of perl.
|
||||
Summary: Tool for listing modules shipped with perl
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
Epoch: 1
|
||||
Version: 5.20240609
|
||||
Version: 5.20250118
|
||||
Requires: perl(feature)
|
||||
Requires: perl(version) >= 0.88
|
||||
Requires: perl-Module-CoreList = %{epoch}:%{version}-%{release}
|
||||
@ -4264,6 +4271,9 @@ install -m 0644 %{SOURCE5} .
|
||||
#copy Pod-Html license clarification
|
||||
cp %{SOURCE6} .
|
||||
|
||||
# Copy config.over to override Configure's guesses.
|
||||
cp %{SOURCE8} .
|
||||
|
||||
#
|
||||
# Candidates for doc recoding (need case by case review):
|
||||
# find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)'
|
||||
@ -4491,16 +4501,6 @@ rm $RPM_BUILD_ROOT%{_mandir}/man3/File::Spec::VMS.3*
|
||||
rm %{build_privlib}/ExtUtils/PL2Bat.pm
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man3/ExtUtils::PL2Bat.3*
|
||||
|
||||
# Fix some manpages to be UTF-8
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
pushd $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
for i in perl588delta.1 perldelta.1 ; do
|
||||
iconv -c -f MS-ANSI -t UTF-8 $i --output new-$i
|
||||
rm $i
|
||||
mv new-$i $i
|
||||
done
|
||||
popd
|
||||
|
||||
# for now, remove Bzip2:
|
||||
# Why? Now is missing Bzip2 files and provides
|
||||
##find $RPM_BUILD_ROOT -name Bzip2 | xargs rm -r
|
||||
@ -7286,11 +7286,18 @@ ln -s /app/bin/perl %{buildroot}/usr/bin/perl
|
||||
|
||||
# Old changelog entries are preserved in CVS.
|
||||
%changelog
|
||||
* Wed Jan 22 2025 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.40.0-512
|
||||
- Resolves: RHEL-75798
|
||||
- 5.40.1 bump (see <https://metacpan.org/release/SHAY/perl-5.40.1/view/pod/perldelta.pod>)
|
||||
- Add config.over to make build od perl reproducible
|
||||
- Removed unnecessary conversion
|
||||
- Add new systemtap-sdt-dtrace to build deps
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4:5.40.0-511
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com>
|
||||
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.40.0-510
|
||||
- Perl 5.40 re-rebuild of bootstrapped packages
|
||||
|
||||
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.40.0-509
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (perl-5.40.0.tar.xz) = a2fb1a24c6367b4043f4e929b2d74fc3bad1415e53b791ed1f219f1701064ae21b2bd3164ba95fcf24eaf458bd54433024ccae43725c0bb82a1ec6a98dc7052d
|
||||
SHA512 (perl-5.40.1.tar.xz) = 3ff16b3462ce43ff38dab21b3dfc20f81772b8c9eac19ab96ba2d5e6cbb390e2302fa76c4879f915249357cd11c7ec0d548bcbf3ab2c156df1b9fca95da3f545
|
||||
|
Loading…
Reference in New Issue
Block a user