diff --git a/perl.changes b/perl.changes index c73dc74..7c873ee 100644 --- a/perl.changes +++ b/perl.changes @@ -1,3 +1,6 @@ +* Tue Jan 22 2013 Oleg Girko - 5.12.1 +- Use newly built perl instead of installed one to edit patchlevel.h. + * Tue Jan 22 2013 Oleg Girko - 5.12.1 - Disable multilib for 64-bit architectures. diff --git a/perl.spec b/perl.spec index bf7643b..97418b8 100644 --- a/perl.spec +++ b/perl.spec @@ -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