devel/lua lua.spec,1.6,1.7

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Sat Feb 12 14:19:58 UTC 2005


Author: dwmw2

Update of /cvs/extras/devel/lua
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18221

Modified Files:
	lua.spec 
Log Message:
Fix PPC build. i386 assembly considered harmful


Index: lua.spec
===================================================================
RCS file: /cvs/extras/devel/lua/lua.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- lua.spec	1 Feb 2005 16:15:27 -0000	1.6
+++ lua.spec	12 Feb 2005 14:19:55 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           lua
 Version:        5.0.2
-Release:        1
+Release:        2
 Summary:        A powerful light-weight programming language
 
 Group:          Development/Languages
@@ -26,14 +26,15 @@
 %prep
 %setup -q
 
-
 %build
 make %{?_smp_mflags} \
   MYCFLAGS="$RPM_OPT_FLAGS -fPIC" \
   MYLDFLAGS="-Wl,-E" \
   LOADLIB=-DUSE_DLOPEN=1 \
   DLLIB=-ldl \
+%ifarch %{ix86}
   NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND" \
+%endif
   USERCONF="-DLUA_USERCONFIG='\"../../etc/saconfig.c\"' -DUSE_READLINE" \
   EXTRA_LIBS="-lm -lreadline -lncurses"
 
@@ -68,6 +69,9 @@
 
 
 %changelog
+* Sat Feb 12 2005 David Woodhouse <dwmw2 at infradead.org> - 5.0.2-2
+- Don't use fastround on ppc
+
 * Tue Feb 01 2005 Panu Matilainen <pmatilai at welho.com> - 5.0.2-1
 - update to 5.0.2
 - remove epoch 0, drop fedora.us release tag




More information about the fedora-extras-commits mailing list