Bug 63897

Summary: spec file shouldn't use _arch
Product: [Retired] Red Hat Linux Reporter: Need Real Name <mark7>
Component: ImageMagickAssignee: Jonathan Blandford <jrb>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: ddumas
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-12 12:06:41 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:

Description Need Real Name 2002-04-20 22:49:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.19-pre6 i686; Nav)

Description of problem:
I build for the i686, and skipjack's
for i in %{_arch}-redhat-linux-*; do
	mv $i `echo $i |sed -e "s/^%{_arch}-redhat-linux-//"`
done

doesn't find anything, sinch _arch==i386 and _target==i686.  This prevents the
RPM build from completing.
_arch should be changed to _target throughout the spec file.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
change in rpmrc
buildarchtranslate: i686: i386
to
buildarchtranslate: i686: i686
then
rpm --rebuild <Imagemagick srpm name>

Actual Results:  the rpm build failed at the end of the build process

Expected Results:  the rpm build should have succeeded

Additional info: