provide legacy /usr/bin/perl5.24.0 symlink [release 5.24.4-2mamba;Sun Jan 31 2021]
This commit is contained in:
parent
e9e88e0f1c
commit
2347fddbda
14
perl.spec
14
perl.spec
@ -27,7 +27,7 @@
|
||||
# rpm -ba --define='bootstrap 1' perl.spec
|
||||
|
||||
Name: perl
|
||||
Version: 5.24.0
|
||||
Version: 5.24.4
|
||||
Release: 2mamba
|
||||
Epoch: 2
|
||||
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
|
||||
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
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
|
||||
@ -259,6 +264,7 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
|
||||
%{_bindir}/json_pp
|
||||
%{_bindir}/perl
|
||||
%{_bindir}/perl5
|
||||
%{_bindir}/perl5.24.0
|
||||
%{_bindir}/perl%{version}
|
||||
%{_bindir}/perlbug
|
||||
%{_bindir}/perldoc
|
||||
@ -313,6 +319,12 @@ rm %{_tmppath}/{perl-mainpkg,perl-develpkg}
|
||||
%doc Changes README
|
||||
|
||||
%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
|
||||
- backport from perl 5.16.3 in devel: move libperl.so and %{perl_vendor} modules under libperl package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user