Commit ff3f6093 authored by Oleg Girko's avatar Oleg Girko

Use newly built perl instead of installed one to edit patchlevel.h.

This allows to build perl on a system without installed perl.
Signed-off-by: default avatarOleg Girko <ol+mer@infoserver.ru>
parent cac55f07
* Tue Jan 22 2013 Oleg Girko <ol+mer@infoserver.ru> - 5.12.1
- Use newly built perl instead of installed one to edit patchlevel.h.
* Tue Jan 22 2013 Oleg Girko <ol+mer@infoserver.ru> - 5.12.1
- Disable multilib for 64-bit architectures.
......
......@@ -849,12 +849,12 @@ chmod -R u+w $RPM_BUILD_ROOT/*
# Local patch tracking
cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/
perl -x patchlevel.h 'Fedora Patch1: Removes date check, Fedora/RHEL specific'
%{new_perl} -x patchlevel.h 'Fedora Patch1: Removes date check, Fedora/RHEL specific'
%ifnarch sparc64
perl -x patchlevel.h 'Fedora Patch2: Work around annoying rpath issue'
%{new_perl} -x patchlevel.h 'Fedora Patch2: Work around annoying rpath issue'
%endif
%ifarch %{multilib_64_archs}
perl -x patchlevel.h 'Fedora Patch3: support for libdir64'
%{new_perl} -x patchlevel.h 'Fedora Patch3: support for libdir64'
%endif
rm -rf $RPM_BUILD_ROOT/*.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment