Bug 63897 - spec file shouldn't use _arch
Summary: spec file shouldn't use _arch
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ImageMagick
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-20 22:49 UTC by Need Real Name
Modified: 2013-04-02 04:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-12 12:06:41 UTC
Embargoed:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.