update to 3.1.0 [release 3.1.0-1mamba;Mon Feb 11 2019]
This commit is contained in:
parent
af367825ea
commit
e3a8ad4faf
40
qemu.spec
40
qemu.spec
@ -1,5 +1,5 @@
|
|||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 3.0.0
|
Version: 3.1.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A generic and open source processor emulator
|
Summary: A generic and open source processor emulator
|
||||||
Group: Applications/Emulators
|
Group: Applications/Emulators
|
||||||
@ -153,6 +153,7 @@ This package contains static user mode emulators. In this mode, QEMU can launch
|
|||||||
--disable-libssh2 \
|
--disable-libssh2 \
|
||||||
--disable-libnfs \
|
--disable-libnfs \
|
||||||
--disable-libxml2 \
|
--disable-libxml2 \
|
||||||
|
--disable-gnutls \
|
||||||
--enable-linux-user
|
--enable-linux-user
|
||||||
|
|
||||||
# --disable-smartcard-nss \
|
# --disable-smartcard-nss \
|
||||||
@ -191,10 +192,14 @@ make clean
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
install -D -m 755 %{S:1} \
|
#install -D -m 755 %{S:1} \
|
||||||
%{buildroot}%{_prefix}/lib/systemd/scripts/%{name}-binfmt
|
# %{buildroot}%{_prefix}/lib/systemd/scripts/%{name}-binfmt
|
||||||
install -D -m 0644 %{S:5} \
|
#install -D -m 0644 %{S:5} \
|
||||||
%{buildroot}%{_unitdir}/qemu.service
|
# %{buildroot}%{_unitdir}/qemu.service
|
||||||
|
|
||||||
|
install -d -m0755 %{buildroot}%{_binfmtdir}
|
||||||
|
scripts/qemu-binfmt-conf.sh --exportdir %{buildroot}%{_binfmtdir}/ \
|
||||||
|
--systemd ALL --qemu-path %{_bindir}
|
||||||
|
|
||||||
cd static
|
cd static
|
||||||
for f in *; do
|
for f in *; do
|
||||||
@ -216,21 +221,7 @@ install -D -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# new install
|
%binfmt_apply
|
||||||
%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
|
|
||||||
:
|
:
|
||||||
|
|
||||||
%post guest-agent
|
%post guest-agent
|
||||||
@ -267,10 +258,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
#%{_bindir}/vscclient
|
#%{_bindir}/vscclient
|
||||||
%exclude %{_bindir}/%{name}*.static
|
%exclude %{_bindir}/%{name}*.static
|
||||||
%{_bindir}/virtfs-proxy-helper
|
%{_bindir}/virtfs-proxy-helper
|
||||||
%{_unitdir}/qemu.service
|
#%{_unitdir}/qemu.service
|
||||||
%{_prefix}/lib/systemd/scripts/%{name}-binfmt
|
#%{_prefix}/lib/systemd/scripts/%{name}-binfmt
|
||||||
%{_libexecdir}/qemu-bridge-helper
|
%{_libexecdir}/qemu-bridge-helper
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
%{_binfmtdir}/*.conf
|
||||||
|
%{_prefix}
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
%{_mandir}/man1/%{name}*
|
%{_mandir}/man1/%{name}*
|
||||||
%{_mandir}/man1/virtfs-proxy-helper.1*
|
%{_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
|
%attr(0755,root,root) %{_bindir}/%{name}*.static
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 11 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
|
||||||
|
- update to 3.1.0
|
||||||
|
|
||||||
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user