]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- merge qemu 0.9.1 from AC-branch
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 7 Feb 2008 00:00:01 +0000 (00:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qemu.spec -> 1.99

qemu.spec

index 204572e822916068ac72a9460d921d4e026c3adc..ed7cde72b6ae6ce9f3cf09ade1e4c70f13d95240 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
 %bcond_without kernel                  # build kqemu KERNEL MODULES
 %bcond_without userspace               # don't build userspace
 %bcond_with    grsec_kernel    # build for kernel-grsecurity
-#
-%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
+
+%if %{without kernel}
+%undefine      with_dist_kernel
+%endif
+%if %{with dist_kernel} && %{with grsec_kernel}
 %define        alt_kernel      grsecurity
 %endif
+
+# no kernel kqemu module for ppc
+%ifarch ppc
+%undefine      with_kqemu
+%undefine      with_kernel
+%endif
+
 %if "%{_alt_kernel}" != "%{nil}"
 %undefine      with_userspace
 %endif
 
-# no kqemu for ppc
-%ifarch ppc
-%undefine      with_kqemu
-%undefine      with_kernel
-%endif
 %define                kqemu_version   1.3.0pre11
-%define                qemu_version    0.9.0
-%define                _rel    60
+%define                qemu_version    0.9.1
 %define                pname   qemu
+
+%define                rel     4
 Summary:       QEMU CPU Emulator
 Summary(pl.UTF-8):     QEMU - emulator procesora
 Name:          %{pname}%{_alt_kernel}
 Version:       %{qemu_version}
-Release:       %{_rel}%{?with_kqemu:k}
+Release:       %{rel}%{?with_kqemu:k}
 License:       GPL
 Group:         Applications/Emulators
 #Source0Download: http://fabrice.bellard.free.fr/qemu/download.html
@@ -71,7 +77,7 @@ BuildRequires:        which
 %endif
 Requires:      SDL >= 1.2.1
 # sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c)
-ExclusiveArch: %{ix86} %{x8664} ppc
+ExclusiveArch: %{ix86} %{x8664} %{?with_userspace:ppc}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # some SPARC boot image in ELF format
@@ -112,7 +118,7 @@ aby działał na kolejnych procesorach. QEMU ma dwa tryby pracy:
 Summary:       kqemu - kernel module
 Summary(pl.UTF-8):     kqemu - moduł jądra
 Version:       %{kqemu_version}
-Release:       %{_rel}@%{_kernel_ver_str}
+Release:       %{rel}@%{_kernel_ver_str}
 Group:         Base/Kernel
 %{?with_dist_kernel:%requires_releq_kernel}
 License:       GPL v2
This page took 0.110421 seconds and 4 git commands to generate.