From 5f2203dedeaf0d73dc6e5fd29ec5071fa95daf99 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mar 27 2008 18:43:01 +0000 Subject: fix sparc optflags --- diff --git a/rpm-4.4.2.3-rc1-sparc-mcpu.patch b/rpm-4.4.2.3-rc1-sparc-mcpu.patch new file mode 100644 index 0000000..03fc2f6 --- /dev/null +++ b/rpm-4.4.2.3-rc1-sparc-mcpu.patch @@ -0,0 +1,18 @@ +diff -up rpm-4.4.2.3-rc1/rpmrc.in.BAD rpm-4.4.2.3-rc1/rpmrc.in +--- rpm-4.4.2.3-rc1/rpmrc.in.BAD 2008-03-27 10:49:49.000000000 -0500 ++++ rpm-4.4.2.3-rc1/rpmrc.in 2008-03-27 10:50:27.000000000 -0500 +@@ -37,10 +37,10 @@ optflags: alphaev67 -O2 -g -mieee -march + + optflags: sparc -O2 -g -m32 -mtune=ultrasparc + optflags: sparcv8 -O2 -g -m32 -mtune=ultrasparc -mv8 +-optflags: sparcv9 -O2 -g -m32 -march=ultrasparc +-optflags: sparcv9v -O2 -g -m32 -march=niagara +-optflags: sparc64 -O2 -g -m64 -march=ultrasparc +-optflags: sparc64v -O2 -g -m64 -march=niagara ++optflags: sparcv9 -O2 -g -m32 -mcpu=ultrasparc ++optflags: sparcv9v -O2 -g -m32 -mcpu=niagara ++optflags: sparc64 -O2 -g -m64 -mcpu=ultrasparc ++optflags: sparc64v -O2 -g -m64 -mcpu=niagara + + optflags: m68k -O2 -g -fomit-frame-pointer + diff --git a/rpm.spec b/rpm.spec index 83357b6..200b38c 100644 --- a/rpm.spec +++ b/rpm.spec @@ -6,7 +6,7 @@ Summary: The RPM package management system Name: rpm Version: 4.4.2.3 -Release: 0.3.rc1 +Release: 0.4.rc1 Group: System Environment/Base Url: http://www.rpm.org/ Source: http://rpm.org/releases/rpm-4.4.x/%{name}-%{version}-rc1.tar.gz @@ -25,6 +25,8 @@ Patch12: rpm-4.4.2.3-no-order-rescan-limit.patch Patch50: rpm-4.4.2.3-geode-instplat.patch +Patch51: rpm-4.4.2.3-rc1-sparc-mcpu.patch + # XXX Beware, this is one murky license, partially GPL/LGPL dual-licensed # and several different components with their own licenses included... # SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD and MIT and Sleepycat @@ -401,6 +403,9 @@ exit 0 %endif %changelog +* Thu Mar 27 2008 Tom "spot" Callaway 4.4.2.3-0.4.rc1 +- Fix sparc optflags + * Wed Mar 12 2008 Panu Matilainen 4.4.2.3-0.3.rc1 - Continue ordering loop elimination as long as progress is made (#437041)