rpms/qemu/devel qemu.spec,1.18,1.19

Matthias Saou (thias) fedora-extras-commits at redhat.com
Thu Aug 24 11:50:03 UTC 2006


Author: thias

Update of /cvs/extras/rpms/qemu/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19255

Modified Files:
	qemu.spec 
Log Message:
Remove the target-list iteration for x86_64 and make gcc3x conditional.



Index: qemu.spec
===================================================================
RCS file: /cvs/extras/rpms/qemu/devel/qemu.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- qemu.spec	24 Aug 2006 09:00:29 -0000	1.18
+++ qemu.spec	24 Aug 2006 11:50:03 -0000	1.19
@@ -1,3 +1,10 @@
+# For FC >= 6 we have gcc 3.4, for FC <= 5 we have gcc 3.2
+%if %{!?fedora:6}%{?fedora} >= 6
+%define gccver 34
+%else
+%define gccver 32
+%endif
+
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 0.8.2
@@ -12,7 +19,7 @@
 Patch2: qemu-0.8.2-kernheaders.patch
 Patch3: qemu-0.8.2-target-sparc.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: SDL-devel compat-gcc-34 zlib-devel which texi2html
+BuildRequires: SDL-devel compat-gcc-%{gccver} zlib-devel which texi2html
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/service /sbin/chkconfig
 Requires(postun): /sbin/service
@@ -39,11 +46,11 @@
 %patch3 -p1
 
 %build
-./configure --prefix=%{_prefix} --interp-prefix=%{_prefix}/qemu-%%M \
-%ifarch x86_64
-    --target-list="i386-user arm-user armeb-user ppc-user mips-user mipsel-user i386-softmmu ppc-softmmu x86_64-softmmu mips-softmmu arm-softmmu" \
-%endif
-    --cc=gcc34 --enable-alsa
+./configure \
+    --prefix=%{_prefix} \
+    --interp-prefix=%{_prefix}/qemu-%%M \
+    --cc=gcc%{gccver} \
+    --enable-alsa
 make %{?_smp_mflags}
 
 %install
@@ -85,6 +92,11 @@
 %{_mandir}/man1/*
 
 %changelog
+* Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
+- Remove the target-list iteration for x86_64 since they all build again.
+- Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
+  FC5 and FC6.
+
 * Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
 - Update to 0.8.2 (#200065).
 - Drop upstreamed syscall-macros patch2.




More information about the fedora-extras-commits mailing list