]> TLD Linux GIT Repositories - packages/qemu.git/blobdiff - qemu.spec
- updated to 2.12.1
[packages/qemu.git] / qemu.spec
index 240d5b1fe38499b094fb493e764f948f0e4c40fb..6302a68095edf7dc5beb220b747243cf95940bab 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
 Summary:       QEMU CPU Emulator
 Summary(pl.UTF-8):     QEMU - emulator procesora
 Name:          qemu
-Version:       2.12.0
+Version:       2.12.1
 Release:       1
 License:       GPL v2
 Group:         Applications/Emulators
 Source0:       http://wiki.qemu-project.org/download/%{name}-%{version}.tar.xz
-# Source0-md5: ca553eb04c933f58111c304452fc4cc5
-Source2:       %{name}.binfmt
+# Source0-md5: 6e830a88e36908d9563ed01131ce72ec
 # Loads kvm kernel modules at boot
 Source3:       kvm-modules-load.conf
 # Creates /dev/kvm
@@ -947,7 +946,7 @@ build static \
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/lib/binfmt.d \
+install -d \
        $RPM_BUILD_ROOT/etc/{qemu,sysconfig,udev/rules.d,modules-load.d} \
        $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
 
@@ -991,58 +990,6 @@ install -p %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
 # For the qemu-guest-agent subpackage install the udev rules.
 install -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
 
-# Install binfmt
-for i in dummy \
-%ifnarch %{ix86} %{x8664} x32
-       qemu-i386 \
-%endif
-%ifnarch alpha
-       qemu-alpha \
-%endif
-%ifnarch %{arm}
-       qemu-arm \
-%endif
-       qemu-armeb \
-       qemu-cris \
-       qemu-microblaze qemu-microblazeel \
-%ifnarch mips64
-       qemu-mips64 \
-%ifnarch mips
-       qemu-mips \
-%endif
-%endif
-%ifnarch mips64el
-       qemu-mips64el \
-%ifnarch mipsel
-       qemu-mipsel \
-%endif
-%endif
-%ifnarch m68k
-       qemu-m68k \
-%endif
-%ifnarch ppc ppc64 ppc64le
-       qemu-ppc qemu-ppc64abi32 qemu-ppc64 \
-%endif
-%ifnarch sparc sparc64
-       qemu-sparc qemu-sparc32plus qemu-sparc64 \
-%endif
-%ifnarch s390 s390x
-       qemu-s390x \
-%endif
-%ifnarch sh4
-       qemu-sh4 \
-%endif
-       qemu-sh4eb \
-; do
-       test $i = dummy && continue
-       grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-dynamic.conf
-
-       %if %{with user_static}
-       grep /$i:\$ %{SOURCE2} > $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
-       %{__sed} -i -e "s/$i/$i-static/" $RPM_BUILD_ROOT/usr/lib/binfmt.d/$i-static.conf
-       %endif
-done < %{SOURCE2}
-
 # packaged as %doc
 %{__rm} $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-doc.html
 
@@ -1181,7 +1128,6 @@ fi
 
 %files user
 %defattr(644,root,root,755)
-/usr/lib/binfmt.d/qemu-*-dynamic.conf
 %attr(755,root,root) %{_bindir}/qemu-aarch64
 %attr(755,root,root) %{_bindir}/qemu-aarch64_be
 %attr(755,root,root) %{_bindir}/qemu-alpha
@@ -1221,7 +1167,6 @@ fi
 %if %{with user_static}
 %files user-static
 %defattr(644,root,root,755)
-/usr/lib/binfmt.d/qemu-*-static.conf
 %attr(755,root,root) %{_bindir}/qemu-aarch64-static
 %attr(755,root,root) %{_bindir}/qemu-aarch64_be-static
 %attr(755,root,root) %{_bindir}/qemu-alpha-static