provide legacy /usr/bin/perl5.24.0 symlink [release 5.24.4-2mamba;Sun Jan 31 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 08:30:46 +01:00
parent e9e88e0f1c
commit 2347fddbda

View File

@ -27,7 +27,7 @@
# rpm -ba --define='bootstrap 1' perl.spec # rpm -ba --define='bootstrap 1' perl.spec
Name: perl Name: perl
Version: 5.24.0 Version: 5.24.4
Release: 2mamba Release: 2mamba
Epoch: 2 Epoch: 2
Summary: Practical Extraction and Report Language Summary: Practical Extraction and Report Language
@ -237,6 +237,11 @@ for f in Config.pm Config_heavy.pl CORE/config.h; do
%{buildroot}/usr/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi/$f %{buildroot}/usr/lib/perl5/%{version}/%{perl_host}-%{_os}-thread-multi/$f
done done
# Provide legacy /usr/bin/perl5.24.0 symlink
if [ "%{version}" == 5.24.4 ]; then
ln -s perl%{version} %{buildroot}%{_bindir}/perl5.24.0
fi
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
rm %{_tmppath}/{perl-mainpkg,perl-develpkg} rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
@ -259,6 +264,7 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%{_bindir}/json_pp %{_bindir}/json_pp
%{_bindir}/perl %{_bindir}/perl
%{_bindir}/perl5 %{_bindir}/perl5
%{_bindir}/perl5.24.0
%{_bindir}/perl%{version} %{_bindir}/perl%{version}
%{_bindir}/perlbug %{_bindir}/perlbug
%{_bindir}/perldoc %{_bindir}/perldoc
@ -313,6 +319,12 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
%doc Changes README %doc Changes README
%changelog %changelog
* Sun Jan 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-2mamba
- provide legacy /usr/bin/perl5.24.0 symlink
* Sat Jan 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.4-1mamba
- update to 5.24.4
* Sat Nov 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.0-2mamba * Sat Nov 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.24.0-2mamba
- backport from perl 5.16.3 in devel: move libperl.so and %{perl_vendor} modules under libperl package - backport from perl 5.16.3 in devel: move libperl.so and %{perl_vendor} modules under libperl package