Accepting request 536924 from home:lyan:branches:Virtualization

wrap scripts into qemu-tools

OBS-URL: https://build.opensuse.org/request/show/536924
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=373
This commit is contained in:
Bruce Rogers 2017-10-26 17:10:00 +00:00 committed by Git OBS Bridge
parent 40d6206ff1
commit a6b759d2e7
5 changed files with 40 additions and 12 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 26 15:25:01 UTC 2017 - lyan@suse.com
- Wrap analyze-migration and vmstate-static-checker into tools from
qemu scripts folder, also changed introduction of qemu-tools in
spec file
- Move supportplugin position in spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 19 21:57:57 UTC 2017 - brogers@suse.com Thu Oct 19 21:57:57 UTC 2017 - brogers@suse.com

View File

@ -754,7 +754,8 @@ binaries for different architectures under your native operating
system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
as PC and PowerMac systems. as PC and PowerMac systems.
This sub-package contains various tools, including a bridge helper. This sub-package contains various tools, including a bridge helper,
ivshmem, qemu disk tools and some scripts for different purposes.
%package guest-agent %package guest-agent
Summary: Universal CPU emulator -- Guest agent Summary: Universal CPU emulator -- Guest agent
@ -1248,15 +1249,16 @@ done
install -D -m 644 %{SOURCE302} %{buildroot}%{_sysconfdir}/qemu/bridge.conf install -D -m 644 %{SOURCE302} %{buildroot}%{_sysconfdir}/qemu/bridge.conf
install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu/qemu-ifup install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu/qemu-ifup
install -D -p -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}/80-qemu-ga.rules install -D -p -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}/80-qemu-ga.rules
install -D -m 755 scripts/analyze-migration.py %{buildroot}%{_bindir}/analyze-migration.py
install -D -m 755 scripts/vmstate-static-checker.py %{buildroot}%{_bindir}/vmstate-static-checker.py
mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
install -D -m 0755 %{SOURCE16} %{buildroot}%{_libexecdir}/supportconfig/plugins/qemu
%if 0%{?is_opensuse} == 0 %if 0%{?is_opensuse} == 0
install -D -m 0644 %{SOURCE12} %{buildroot}%{_docdir}/qemu-x86/supported.txt install -D -m 0644 %{SOURCE12} %{buildroot}%{_docdir}/qemu-x86/supported.txt
install -D -m 0644 %{SOURCE13} %{buildroot}%{_docdir}/qemu-s390/supported.txt install -D -m 0644 %{SOURCE13} %{buildroot}%{_docdir}/qemu-s390/supported.txt
install -D -m 0644 %{SOURCE14} %{buildroot}%{_docdir}/qemu-arm/supported.txt install -D -m 0644 %{SOURCE14} %{buildroot}%{_docdir}/qemu-arm/supported.txt
install -D -m 0644 %{SOURCE15} %{buildroot}%{_docdir}/qemu-ppc/supported.txt install -D -m 0644 %{SOURCE15} %{buildroot}%{_docdir}/qemu-ppc/supported.txt
%endif %endif
# install supportconfig plugin
mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
install -D -m 0755 %{SOURCE16} %{buildroot}%{_libexecdir}/supportconfig/plugins/qemu
%if %{legacy_qemu_kvm} %if %{legacy_qemu_kvm}
cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF' cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF'
#!/bin/sh #!/bin/sh
@ -1630,6 +1632,8 @@ fi
%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper %verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper
%dir %_sysconfdir/%name %dir %_sysconfdir/%name
%config %_sysconfdir/%name/bridge.conf %config %_sysconfdir/%name/bridge.conf
%_bindir/analyze-migration.py
%_bindir/vmstate-static-checker.py
%files guest-agent %files guest-agent
%defattr(-, root, root) %defattr(-, root, root)

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 26 15:25:01 UTC 2017 - lyan@suse.com
- Wrap analyze-migration and vmstate-static-checker into tools from
qemu scripts folder, also changed introduction of qemu-tools in
spec file
- Move supportplugin position in spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 19 21:57:57 UTC 2017 - brogers@suse.com Thu Oct 19 21:57:57 UTC 2017 - brogers@suse.com

View File

@ -754,7 +754,8 @@ binaries for different architectures under your native operating
system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
as PC and PowerMac systems. as PC and PowerMac systems.
This sub-package contains various tools, including a bridge helper. This sub-package contains various tools, including a bridge helper,
ivshmem, qemu disk tools and some scripts for different purposes.
%package guest-agent %package guest-agent
Summary: Universal CPU emulator -- Guest agent Summary: Universal CPU emulator -- Guest agent
@ -1248,15 +1249,16 @@ done
install -D -m 644 %{SOURCE302} %{buildroot}%{_sysconfdir}/qemu/bridge.conf install -D -m 644 %{SOURCE302} %{buildroot}%{_sysconfdir}/qemu/bridge.conf
install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu/qemu-ifup install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu/qemu-ifup
install -D -p -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}/80-qemu-ga.rules install -D -p -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}/80-qemu-ga.rules
install -D -m 755 scripts/analyze-migration.py %{buildroot}%{_bindir}/analyze-migration.py
install -D -m 755 scripts/vmstate-static-checker.py %{buildroot}%{_bindir}/vmstate-static-checker.py
mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
install -D -m 0755 %{SOURCE16} %{buildroot}%{_libexecdir}/supportconfig/plugins/qemu
%if 0%{?is_opensuse} == 0 %if 0%{?is_opensuse} == 0
install -D -m 0644 %{SOURCE12} %{buildroot}%{_docdir}/qemu-x86/supported.txt install -D -m 0644 %{SOURCE12} %{buildroot}%{_docdir}/qemu-x86/supported.txt
install -D -m 0644 %{SOURCE13} %{buildroot}%{_docdir}/qemu-s390/supported.txt install -D -m 0644 %{SOURCE13} %{buildroot}%{_docdir}/qemu-s390/supported.txt
install -D -m 0644 %{SOURCE14} %{buildroot}%{_docdir}/qemu-arm/supported.txt install -D -m 0644 %{SOURCE14} %{buildroot}%{_docdir}/qemu-arm/supported.txt
install -D -m 0644 %{SOURCE15} %{buildroot}%{_docdir}/qemu-ppc/supported.txt install -D -m 0644 %{SOURCE15} %{buildroot}%{_docdir}/qemu-ppc/supported.txt
%endif %endif
# install supportconfig plugin
mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
install -D -m 0755 %{SOURCE16} %{buildroot}%{_libexecdir}/supportconfig/plugins/qemu
%if %{legacy_qemu_kvm} %if %{legacy_qemu_kvm}
cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF' cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF'
#!/bin/sh #!/bin/sh
@ -1630,6 +1632,8 @@ fi
%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper %verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper
%dir %_sysconfdir/%name %dir %_sysconfdir/%name
%config %_sysconfdir/%name/bridge.conf %config %_sysconfdir/%name/bridge.conf
%_bindir/analyze-migration.py
%_bindir/vmstate-static-checker.py
%files guest-agent %files guest-agent
%defattr(-, root, root) %defattr(-, root, root)

View File

@ -713,7 +713,8 @@ binaries for different architectures under your native operating
system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
as PC and PowerMac systems. as PC and PowerMac systems.
This sub-package contains various tools, including a bridge helper. This sub-package contains various tools, including a bridge helper,
ivshmem, qemu disk tools and some scripts for different purposes.
%package guest-agent %package guest-agent
Summary: Universal CPU emulator -- Guest agent Summary: Universal CPU emulator -- Guest agent
@ -1166,15 +1167,16 @@ done
install -D -m 644 %{SOURCE302} %{buildroot}%{_sysconfdir}/qemu/bridge.conf install -D -m 644 %{SOURCE302} %{buildroot}%{_sysconfdir}/qemu/bridge.conf
install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu/qemu-ifup install -D -m 755 %{SOURCE2} %{buildroot}/usr/share/qemu/qemu-ifup
install -D -p -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}/80-qemu-ga.rules install -D -p -m 0644 %{SOURCE8} %{buildroot}%{_udevrulesdir}/80-qemu-ga.rules
install -D -m 755 scripts/analyze-migration.py %{buildroot}%{_bindir}/analyze-migration.py
install -D -m 755 scripts/vmstate-static-checker.py %{buildroot}%{_bindir}/vmstate-static-checker.py
mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
install -D -m 0755 %{SOURCE16} %{buildroot}%{_libexecdir}/supportconfig/plugins/qemu
%if 0%{?is_opensuse} == 0 %if 0%{?is_opensuse} == 0
install -D -m 0644 %{SOURCE12} %{buildroot}%{_docdir}/qemu-x86/supported.txt install -D -m 0644 %{SOURCE12} %{buildroot}%{_docdir}/qemu-x86/supported.txt
install -D -m 0644 %{SOURCE13} %{buildroot}%{_docdir}/qemu-s390/supported.txt install -D -m 0644 %{SOURCE13} %{buildroot}%{_docdir}/qemu-s390/supported.txt
install -D -m 0644 %{SOURCE14} %{buildroot}%{_docdir}/qemu-arm/supported.txt install -D -m 0644 %{SOURCE14} %{buildroot}%{_docdir}/qemu-arm/supported.txt
install -D -m 0644 %{SOURCE15} %{buildroot}%{_docdir}/qemu-ppc/supported.txt install -D -m 0644 %{SOURCE15} %{buildroot}%{_docdir}/qemu-ppc/supported.txt
%endif %endif
# install supportconfig plugin
mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
install -D -m 0755 %{SOURCE16} %{buildroot}%{_libexecdir}/supportconfig/plugins/qemu
%if %{legacy_qemu_kvm} %if %{legacy_qemu_kvm}
cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF' cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF'
#!/bin/sh #!/bin/sh
@ -1548,6 +1550,8 @@ fi
%verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper %verify(not mode) %attr(4750,root,kvm) %_libexecdir/qemu-bridge-helper
%dir %_sysconfdir/%name %dir %_sysconfdir/%name
%config %_sysconfdir/%name/bridge.conf %config %_sysconfdir/%name/bridge.conf
%_bindir/analyze-migration.py
%_bindir/vmstate-static-checker.py
%files guest-agent %files guest-agent
%defattr(-, root, root) %defattr(-, root, root)