From e3a8ad4faff952241529f213503856e235aa84ef Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:00:32 +0100 Subject: [PATCH] update to 3.1.0 [release 3.1.0-1mamba;Mon Feb 11 2019] --- qemu.spec | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/qemu.spec b/qemu.spec index c03e10c..6257e60 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,5 +1,5 @@ Name: qemu -Version: 3.0.0 +Version: 3.1.0 Release: 1mamba Summary: A generic and open source processor emulator Group: Applications/Emulators @@ -153,6 +153,7 @@ This package contains static user mode emulators. In this mode, QEMU can launch --disable-libssh2 \ --disable-libnfs \ --disable-libxml2 \ + --disable-gnutls \ --enable-linux-user # --disable-smartcard-nss \ @@ -191,10 +192,14 @@ make clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -install -D -m 755 %{S:1} \ - %{buildroot}%{_prefix}/lib/systemd/scripts/%{name}-binfmt -install -D -m 0644 %{S:5} \ - %{buildroot}%{_unitdir}/qemu.service +#install -D -m 755 %{S:1} \ +# %{buildroot}%{_prefix}/lib/systemd/scripts/%{name}-binfmt +#install -D -m 0644 %{S:5} \ +# %{buildroot}%{_unitdir}/qemu.service + +install -d -m0755 %{buildroot}%{_binfmtdir} +scripts/qemu-binfmt-conf.sh --exportdir %{buildroot}%{_binfmtdir}/ \ + --systemd ALL --qemu-path %{_bindir} cd static for f in *; do @@ -216,21 +221,7 @@ install -D -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -# new install -%systemd_post qemu -if [ $1 -gt 1 ]; then - systemctl --no-reload preset qemu >/dev/null 2>&1 || : -fi -: - -%preun -# erase -%systemd_preun qemu -: - -%postun -# upgrade -%systemd_postun_with_restart qemu.service +%binfmt_apply : %post guest-agent @@ -267,10 +258,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; #%{_bindir}/vscclient %exclude %{_bindir}/%{name}*.static %{_bindir}/virtfs-proxy-helper -%{_unitdir}/qemu.service -%{_prefix}/lib/systemd/scripts/%{name}-binfmt +#%{_unitdir}/qemu.service +#%{_prefix}/lib/systemd/scripts/%{name}-binfmt %{_libexecdir}/qemu-bridge-helper %{_datadir}/%{name} +%{_binfmtdir}/*.conf +%{_prefix} %{_docdir}/%{name} %{_mandir}/man1/%{name}* %{_mandir}/man1/virtfs-proxy-helper.1* @@ -313,6 +306,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; %attr(0755,root,root) %{_bindir}/%{name}*.static %changelog +* Mon Feb 11 2019 Silvan Calarco 3.1.0-1mamba +- update to 3.1.0 + * Sun Sep 09 2018 Automatic Build System 3.0.0-1mamba - automatic version update by autodist