rpms/kvm/devel .cvsignore, 1.35, 1.36 kvm.spec, 1.64, 1.65 sources, 1.34, 1.35 kvm-71-alsa.patch, 1.2, NONE

Glauber Costa glommer at fedoraproject.org
Tue Aug 26 16:02:32 UTC 2008


Author: glommer

Update of /cvs/pkgs/rpms/kvm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32388

Modified Files:
	.cvsignore kvm.spec sources 
Removed Files:
	kvm-71-alsa.patch 
Log Message:
- Update to kvm-73.
- alsa enablement patch not needed anymore - removed.
- Add conditional so we can use this same rpm for rhel.




Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/kvm/devel/.cvsignore,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- .cvsignore	28 Jul 2008 20:50:28 -0000	1.35
+++ .cvsignore	26 Aug 2008 16:02:02 -0000	1.36
@@ -1 +1 @@
-kvm-72.tar.gz
+kvm-73.tar.gz


Index: kvm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kvm/devel/kvm.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- kvm.spec	1 Aug 2008 20:02:22 -0000	1.64
+++ kvm.spec	26 Aug 2008 16:02:02 -0000	1.65
@@ -1,7 +1,7 @@
 Summary: Kernel-based Virtual Machine
 Name: kvm
-Version: 72
-Release: 3%{?dist}
+Version: 73
+Release: 1%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: Development/Tools
 URL: http://%{name}.sf.net
@@ -9,7 +9,6 @@
 Source1: %{name}.modules
 Patch0: %{name}-bootmenu.patch
 Patch1: %{name}-62-block-rw-range-check.patch
-Patch2: %{name}-71-alsa.patch
 # patches from upstream qemu
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: SDL-devel
@@ -38,12 +37,27 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
+
+# systems like rhel build system does not have a recent enough linker so 
+# --build-id works. this option is used fedora 8 onwards for giving info
+# to the debug packages.
+
+build_id_available() {
+	echo "int main () { return 0; }" | gcc -x c -Wl,--build-id - 2>/dev/null
+}
+
+if build_id_available; then
+	qemuldflags="-Wl,--build-id";
+else
+	qemuldflags="";
+fi
+
 # we need to install the data bits in a different path
 sed -i 's/datasuffix=\"\/share\/qemu\"/datasuffix=\"\/share\/kvm\"/' qemu/configure
-./configure --with-patched-kernel --kerneldir=$(pwd)/kernel --prefix=%{_prefix} --qemu-ldflags="-Wl,--build-id"
+./configure --with-patched-kernel --kerneldir=$(pwd)/kernel --prefix=%{_prefix} --qemu-ldflags=$qemuldflags \
+--audio-drv-list=oss,alsa
 
 # we can't use RPM_OPT_FLAGS for the same reasons as qemu (#208026) for the
 # qemu bits.  so let's set it for the other pieces.  this requires some
@@ -93,6 +107,11 @@
 %{_sysconfdir}/sysconfig/modules/%{name}.modules
 
 %changelog
+* Thu Aug 21 2008 Glauber Costa <gcosta at redhat.com> - 73-1
+- Update to kvm-73.
+- alsa enablement patch not needed anymore - removed.
+- Add conditional so we can use this same rpm for rhel.
+
 * Fri Aug 01 2008 Glauber Costa <gcosta at redhat.com> - 72-2
 - Remove stubs-32.h BuildRequire. We are building fine without it.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/kvm/devel/sources,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- sources	28 Jul 2008 20:50:28 -0000	1.34
+++ sources	26 Aug 2008 16:02:02 -0000	1.35
@@ -1 +1 @@
-e4f99d05dee168200695850165cd760e  kvm-72.tar.gz
+9928eb26e1e568bea0f50533d7785c98  kvm-73.tar.gz


--- kvm-71-alsa.patch DELETED ---




More information about the fedora-extras-commits mailing list