From e5398a72aab4944573ebb77ba026747d3615955db1b2ce8d6cff8bc7ce373174 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Wed, 12 Jun 2013 21:52:27 +0000 Subject: [PATCH] - Fix xen-utils compiler time warnings xen-utils-0.1.tar.bz2 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=249 --- xen-utils-0.1.tar.bz2 | 4 +- xen.changes | 6 ++ xen.spec | 136 ++++++++++++++++++++++++++++-------------- 3 files changed, 100 insertions(+), 46 deletions(-) diff --git a/xen-utils-0.1.tar.bz2 b/xen-utils-0.1.tar.bz2 index abbd04a..2c53bb7 100644 --- a/xen-utils-0.1.tar.bz2 +++ b/xen-utils-0.1.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ee37e7f7b3e0a7cf4a38d18965c8fe6c23221a28e05033a4f3e6b021a3bd32d0 -size 8377 +oid sha256:991414430321489fa2f31d2ad3cf0fcea00f5cc0312a48b90e14702e02559b42 +size 8438 diff --git a/xen.changes b/xen.changes index a890074..0f070d9 100644 --- a/xen.changes +++ b/xen.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 10 18:36:38 MDT 2013 - carnold@suse.com + +- Fix xen-utils compiler time warnings + xen-utils-0.1.tar.bz2 + ------------------------------------------------------------------- Fri Jun 7 08:45:56 MDT 2013 - carnold@suse.com diff --git a/xen.spec b/xen.spec index 8a2067f..09d82e3 100644 --- a/xen.spec +++ b/xen.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: xen ExclusiveArch: %ix86 x86_64 %define xvers 4.3 @@ -153,8 +154,8 @@ Source26: init.xen_loop Source27: xen_pvdrivers.conf Source28: kmp_filelist %endif -# Xen API remote authentication sources Source29: block-dmmd +# Xen API remote authentication sources Source30: etc_pam.d_xen-api Source31: xenapiusers # sysconfig hook script for Xen @@ -576,8 +577,7 @@ Authors %endif %prep -%setup -q -n %xen_build_dir -a 1 -a 2 -a 3 -a 4 -a 5 -a 20000 -tar xfj %{SOURCE6} -C $RPM_BUILD_DIR/%{xen_build_dir}/tools +%setup -q -n %xen_build_dir -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 20000 # Upstream patches # Qemu # Our patches @@ -762,8 +762,6 @@ export EXTRA_CFLAGS_XEN_TOOLS="$RPM_OPT_FLAGS" export EXTRA_CFLAGS_QEMU_TRADITIONAL="$RPM_OPT_FLAGS" export EXTRA_CFLAGS_QEMU_XEN="$RPM_OPT_FLAGS" %endif -# Qemu -#make -C tools/qemu-xen-dir-remote install # Docs make -C docs install \ DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} \ @@ -838,7 +836,8 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xen/qemu/ rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/qemu/qemu-* rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/packages/xen/html/hypercall/.deps rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/xen/ps -rm -rf $RPM_BUILD_ROOT/usr/share/xen/man/man1/qemu/qemu* +rm -rf $RPM_BUILD_ROOT/usr/share/xen/man/man1/qemu* +rm -rf $RPM_BUILD_ROOT/usr/share/xen/man/man8/qemu* rm -f $RPM_BUILD_ROOT/usr/share/xen/qemu/openbios-ppc rm -f $RPM_BUILD_ROOT/usr/share/qemu-xen/openbios-ppc rm -f $RPM_BUILD_ROOT/usr/share/qemu-xen/qemu/openbios-ppc @@ -947,37 +946,67 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper /usr/bin/tapdisk-ioemu /usr/bin/remus /usr/sbin/blktapctrl -/usr/sbin/flask-loadpolicy -/usr/sbin/flask-getenforce -/usr/sbin/flask-setenforce -/usr/sbin/flask-get-bool -/usr/sbin/flask-label-pci -/usr/sbin/flask-set-bool +/usr/sbin/flask-* +/usr/sbin/tap* /usr/sbin/rcpciback -/usr/sbin/tapdisk -/usr/sbin/xen* +/usr/sbin/xenbaked +/usr/sbin/xenconsoled +/usr/sbin/xencov +/usr/sbin/xen-destroy +/usr/sbin/xen-hptool +/usr/sbin/xen-hvmcrash +/usr/sbin/xen-hvmctx +/usr/sbin/xen-list +/usr/sbin/xenlockprof +/usr/sbin/xen-lowmemd +/usr/sbin/xenmon.py +/usr/sbin/xenperf +/usr/sbin/xenpm +/usr/sbin/xenpmd +/usr/sbin/xen-ringwatch +/usr/sbin/xenstored +/usr/sbin/xen-tmem-list-parse +/usr/sbin/xentop +/usr/sbin/xentrace_setmask +/usr/sbin/xen-vmresync +/usr/sbin/xenwatchdogd /usr/sbin/xsview /usr/sbin/gtracestat /usr/sbin/gtraceview /usr/sbin/lock-util -/usr/sbin/tapdisk-client -/usr/sbin/tapdisk-diff -/usr/sbin/tapdisk-stream -/usr/sbin/tapdisk2 /usr/sbin/td-util /usr/sbin/vhd-update /usr/sbin/vhd-util /usr/sbin/gdbsx /usr/sbin/xl /usr/sbin/kdd -/usr/sbin/tap-ctl +%dir %attr(700,root,root) /etc/xen +%dir /etc/xen/scripts +/etc/xen/scripts/blktap +/etc/xen/scripts/block* +/etc/xen/scripts/domain-lock* +/etc/xen/scripts/external-device-migrate +/etc/xen/scripts/hotplugpath.sh +/etc/xen/scripts/locking.sh +/etc/xen/scripts/logging.sh +/etc/xen/scripts/network-* +/etc/xen/scripts/qemu-ifup +/etc/xen/scripts/set-lock +/etc/xen/scripts/vif2 +/etc/xen/scripts/vif-* +/etc/xen/scripts/vm-monitor +/etc/xen/scripts/vscsi +/etc/xen/scripts/xen-hotplug-* +/etc/xen/scripts/xen-network-common.sh +/etc/xen/scripts/xen-script-common.sh +/etc/xen/scripts/xmclone.sh %{_libdir}/xen %ifarch x86_64 /usr/lib/xen %endif -%{_mandir}/man1/*.1.gz -%{_mandir}/man8/*.8.gz -/var/adm/fillup-templates/* +%dir /var/adm/fillup-templates +/var/adm/fillup-templates/sysconfig.pciback +/var/adm/fillup-templates/sysconfig.xencommons %dir /var/lib/xen %dir %attr(700,root,root) /var/lib/xen/images %dir %attr(700,root,root) /var/lib/xen/save @@ -986,13 +1015,10 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper %dir /var/lib/xenstored %dir /var/log/xen %dir /var/log/xen/console -%config /etc/init.d/* %config /etc/logrotate.d/xen -%dir %attr(700,root,root) /etc/xen /etc/xen/auto %config /etc/xen/examples /etc/xen/images -/etc/xen/scripts %config /etc/xen/cpupool /etc/xen/README* %config /etc/xen/vm @@ -1000,6 +1026,10 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper %config(noreplace) /etc/xen/xl.conf %config /etc/pam.d/xen-api %config /etc/modprobe.d/xen_loop.conf +%dir /etc/init.d +%config /etc/init.d/xencommons +%config /etc/init.d/xen-watchdog +%config /etc/init.d/pciback %dir /etc/modprobe.d %dir /etc/udev %dir /etc/udev/rules.d @@ -1008,42 +1038,49 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper /etc/sysconfig/network/if-up.d/xen /etc/sysconfig/network/if-down.d/xen /etc/bash_completion.d/xl.sh -%dir %{_defaultdocdir}/xen -%{_defaultdocdir}/xen/COPYING -%{_defaultdocdir}/xen/README.SuSE -%{_defaultdocdir}/xen/boot.local.xenU -%{_defaultdocdir}/xen/boot.xen -%{_defaultdocdir}/xen/misc +%dir %{_datadir}/qemu-xen +%{_datadir}/qemu-xen/* +%dir %{_datadir}/xen +%{_datadir}/xen/*.dtd +%dir %{_datadir}/xen/qemu +%{_datadir}/xen/qemu/* %dir %{_libdir}/python%{pyver}/site-packages/grub %dir %{_libdir}/python%{pyver}/site-packages/xen %dir %{_libdir}/python%{pyver}/site-packages/xen/lowlevel %dir %{_libdir}/python%{pyver}/site-packages/xen/xsview -%dir %{_datadir}/qemu-xen -%dir %{_datadir}/xen -%dir %{_datadir}/xen/man -%dir %{_datadir}/xen/man/man1 -%dir %{_datadir}/xen/man/man8 -%dir %{_datadir}/xen/qemu -%{_datadir}/qemu-xen/* -%{_datadir}/xen/*.dtd -%{_datadir}/xen/qemu/* -%{_datadir}/xen/man/man1/* -%{_datadir}/xen/man/man8/* %{_libdir}/python%{pyver}/site-packages/grub/* %{_libdir}/python%{pyver}/site-packages/xen/__init__* %{_libdir}/python%{pyver}/site-packages/xen/lowlevel/* %{_libdir}/python%{pyver}/site-packages/xen/xsview/* %{_libdir}/python%{pyver}/site-packages/fsimage.so %{_libdir}/python%{pyver}/site-packages/xnloader.py +%dir %{_defaultdocdir}/xen +%{_defaultdocdir}/xen/COPYING +%{_defaultdocdir}/xen/README.SuSE +%{_defaultdocdir}/xen/boot.local.xenU +%{_defaultdocdir}/xen/boot.xen +%{_defaultdocdir}/xen/misc +%dir %{_mandir}/man1 +%dir %{_mandir}/man5 +%dir %{_mandir}/man8 +%{_mandir}/man1/xen-list.1.gz +%{_mandir}/man1/xentop.1.gz +%{_mandir}/man1/xentrace_format.1.gz +%{_mandir}/man1/xl.1.gz +%{_mandir}/man5/xl.cfg.5.gz +%{_mandir}/man5/xl.conf.5.gz +%{_mandir}/man5/xlcpupool.cfg.5.gz +%{_mandir}/man8/*.8.gz %files xend-tools %defattr(-,root,root) -%{_mandir}/man5/*.5.gz /etc/udev/rules.d/40-xend.rules /usr/sbin/rcxendomains /usr/sbin/rcxend /usr/sbin/xm -%dir %attr(700,root,root) /etc/xen +/usr/sbin/xend +/usr/sbin/xen-bugtool +/usr/sbin/xen-python-path %dir /var/lib/xen/xend-db %dir /var/lib/xen/xend-db/domain %dir /var/lib/xen/xend-db/migrate @@ -1054,8 +1091,14 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper %dir %{_libdir}/python%{pyver}/site-packages/xen/xend %dir %{_libdir}/python%{pyver}/site-packages/xen/xm %dir %{_libdir}/python%{pyver}/site-packages/xen/web +/var/adm/fillup-templates/sysconfig.xendomains +%dir /etc/init.d +%config /etc/init.d/xend +%config /etc/init.d/xendomains +%dir %attr(700,root,root) /etc/xen %config(noreplace) /etc/xen/*.sxp %config(noreplace) /etc/xen/*.xml +/etc/xen/scripts/xend-relocation.sh %{_libdir}/python%{pyver}/site-packages/xen/remus/* %{_libdir}/python%{pyver}/site-packages/xen/sv/* %{_libdir}/python%{pyver}/site-packages/xen/util/* @@ -1063,6 +1106,11 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper %{_libdir}/python%{pyver}/site-packages/xen/xm/* %{_libdir}/python%{pyver}/site-packages/xen/web/* %config %{_fwdefdir}/xend-relocation-server +%dir %{_mandir}/man1 +%dir %{_mandir}/man5 +%{_mandir}/man1/xm.1.gz +%{_mandir}/man5/xmdomain.cfg.5.gz +%{_mandir}/man5/xend-config.sxp.5.gz %endif %files tools-domU