aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-05-09 10:16:19 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-05-09 10:16:19 +0000
commite1c85e4a295339e31ea9f1ad2b1a74735cc4df91 (patch)
tree8d7ffb614587e399d7c3bf3a873931cb8f1ec5a1
parent83e026939e019f3d4b7c8baf92f44afdb78b1f92 (diff)
downloadrpm-setup-e1c85e4a295339e31ea9f1ad2b1a74735cc4df91.tar
rpm-setup-e1c85e4a295339e31ea9f1ad2b1a74735cc4df91.tar.gz
rpm-setup-e1c85e4a295339e31ea9f1ad2b1a74735cc4df91.tar.bz2
rpm-setup-e1c85e4a295339e31ea9f1ad2b1a74735cc4df91.tar.xz
rpm-setup-e1c85e4a295339e31ea9f1ad2b1a74735cc4df91.zip
- handle pentium computer
-rw-r--r--configure.ac6
-rw-r--r--make_macrosfiles.sh.in2
-rw-r--r--rpm-mandriva-setup.spec2
-rw-r--r--rpmrc.in3
4 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index c5119af..1342c4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
# $Id$
AC_PREREQ(2.59)
-AC_INIT(rpm-mandriva-setup, 0.4, nanardon@mandriva.org)
+AC_INIT(rpm-mandriva-setup, 0.5, nanardon@mandriva.org)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(1.9)
AC_CONFIG_SRCDIR
@@ -17,10 +17,10 @@ AC_CONFIG_FILES([
case "${target_cpu}" in
*86|athlon|k6)
- RPMALLARCH="i386 i486 i586 i686 k6 athlon"
+ RPMALLARCH="i386 i486 i586 i686 k6 athlon pentium3 pentium4"
;;
x86_64|amd64)
- RPMALLARCH="i386 i486 i586 i686 k6 athlon amd64 x86_64"
+ RPMALLARCH="i386 i486 i586 i686 k6 athlon pentium3 pentium4 amd64 x86_64"
;;
ppc|powerpc)
RPMALLARCH="ppc"
diff --git a/make_macrosfiles.sh.in b/make_macrosfiles.sh.in
index 93fd0be..f7c06bc 100644
--- a/make_macrosfiles.sh.in
+++ b/make_macrosfiles.sh.in
@@ -11,7 +11,7 @@ OPTFLAGS=`perl -ane "m/^optflags:\s*${ARCH}\s*(.*)/ and print \\$1" < rpmrc`
MULTILIBNO=
case $ARCH in
- i*86|k6|athlon)
+ i*86|k6|athlon|pentium*)
MULTILIBNO=1
CANONARCH=i386
;;
diff --git a/rpm-mandriva-setup.spec b/rpm-mandriva-setup.spec
index 9ef4234..c1e721d 100644
--- a/rpm-mandriva-setup.spec
+++ b/rpm-mandriva-setup.spec
@@ -1,5 +1,5 @@
%define name rpm-mandriva-setup
-%define version 0.4
+%define version 0.5
%define release %mkrel 1
Summary: The Mandriva rpm configuration and scripts
diff --git a/rpmrc.in b/rpmrc.in
index 8791208..22d22b9 100644
--- a/rpmrc.in
+++ b/rpmrc.in
@@ -77,11 +77,14 @@ arch_canon: x86_64: x86_64 19
# For a given uname().machine, the default build arch
buildarchtranslate: athlon: i586
+buildarchtranslate: pentium4: i586
+buildarchtranslate: pentium3: i586
buildarchtranslate: i686: i586
buildarchtranslate: k6: i586
buildarchtranslate: i586: i586
buildarchtranslate: i486: i486
buildarchtranslate: i386: i386
+buildarchtranslate: i386: i386
#############################################################
# Architecture compatibility