]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- use ifarch %%{x8664} to allow using amd64/ia32e as buildarch
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 11 May 2005 12:53:04 +0000 (12:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.661

rpm.spec

index 6b363b1ec745133ccccccf9c3d94429edc444d91..87383904e89274296dc520445ee6b0c031e61358 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -148,7 +148,8 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # don't require very fresh rpm.macros to build
 %define                __gettextize gettextize --copy --force --intl ; cp -f po/Makevars{.template,}
-%define                ix86 i386 i486 i586 i686 athlon pentium3 pentium4
+%define                ix86    i386 i486 i586 i686 athlon pentium3 pentium4
+%define                x8664   amd64 ia32e x86_64
 
 # stabilize new build environment
 %define                __newcc %{?force_cc}%{!?force_cc:%{_target_cpu}-pld-linux-gcc}
@@ -1016,7 +1017,7 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
 %ifarch sparc sparc64
 %{_rpmlibdir}/sparc*
 %endif
-%ifarch x86_64
+%ifarch %{x8664}
 %{_rpmlibdir}/x86_64*
 %endif
 # must be here for "Requires: rpm-*prov" to work
This page took 0.041129 seconds and 4 git commands to generate.