Bug 117923

Summary: Perl's spec is i386 specific
Product: [Fedora] Fedora Reporter: Nicholas Miell <nmiell>
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-10 03:41:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix the spec file
none
Fix the spec file none

Description Nicholas Miell 2004-03-10 02:20:40 UTC
this fragment from perl's %install is completely broken on all
non-i386 platforms:

pushd $RPM_BUILD_ROOT/%{_libdir}/perl5
for i in  5.8.0/i386-linux-thread-multi/CORE/
5.8.1/i386-linux-thread-multi/CORE/
5.8.2/i386-linux-thread-multi/CORE/; do
  mkdir -p $i
  pushd $i
  ln -s ../../../%{perlver}/i386-linux-thread-multi/CORE/libperl.so
libperl.so
  popd
done
popd

As a result, the latest errata perl and xchat for FC1 x86-64 conflict.

Comment 1 Nicholas Miell 2004-03-10 02:29:41 UTC
Created attachment 98414 [details]
Fix the spec file

Here's a patch for the spec, it's against perl-5.8.3-10.1.1.src.rpm

Comment 2 Nicholas Miell 2004-03-10 02:31:43 UTC
Created attachment 98415 [details]
Fix the spec file

New patch, this one doesn't twiddle the release

Comment 3 Chip Turner 2004-03-10 03:41:23 UTC
good catch.  fixed in cvs, should show up in rawhide.  used a different patch (one that 
used predefined rpm macros for arch, etc) but same idea.  should show up as 5.8.3-11