- 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
This commit is contained in:
Charles Arnold 2013-06-12 21:52:27 +00:00 committed by Git OBS Bridge
parent b3e8476b3b
commit e5398a72aa
3 changed files with 100 additions and 46 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:ee37e7f7b3e0a7cf4a38d18965c8fe6c23221a28e05033a4f3e6b021a3bd32d0 oid sha256:991414430321489fa2f31d2ad3cf0fcea00f5cc0312a48b90e14702e02559b42
size 8377 size 8438

View File

@ -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 Fri Jun 7 08:45:56 MDT 2013 - carnold@suse.com

136
xen.spec
View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: xen Name: xen
ExclusiveArch: %ix86 x86_64 ExclusiveArch: %ix86 x86_64
%define xvers 4.3 %define xvers 4.3
@ -153,8 +154,8 @@ Source26: init.xen_loop
Source27: xen_pvdrivers.conf Source27: xen_pvdrivers.conf
Source28: kmp_filelist Source28: kmp_filelist
%endif %endif
# Xen API remote authentication sources
Source29: block-dmmd Source29: block-dmmd
# Xen API remote authentication sources
Source30: etc_pam.d_xen-api Source30: etc_pam.d_xen-api
Source31: xenapiusers Source31: xenapiusers
# sysconfig hook script for Xen # sysconfig hook script for Xen
@ -576,8 +577,7 @@ Authors
%endif %endif
%prep %prep
%setup -q -n %xen_build_dir -a 1 -a 2 -a 3 -a 4 -a 5 -a 20000 %setup -q -n %xen_build_dir -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 20000
tar xfj %{SOURCE6} -C $RPM_BUILD_DIR/%{xen_build_dir}/tools
# Upstream patches # Upstream patches
# Qemu # Qemu
# Our patches # 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_TRADITIONAL="$RPM_OPT_FLAGS"
export EXTRA_CFLAGS_QEMU_XEN="$RPM_OPT_FLAGS" export EXTRA_CFLAGS_QEMU_XEN="$RPM_OPT_FLAGS"
%endif %endif
# Qemu
#make -C tools/qemu-xen-dir-remote install
# Docs # Docs
make -C docs install \ make -C docs install \
DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} \ 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/qemu/qemu-*
rm -f $RPM_BUILD_ROOT/%{_datadir}/doc/packages/xen/html/hypercall/.deps 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/%{_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/xen/qemu/openbios-ppc
rm -f $RPM_BUILD_ROOT/usr/share/qemu-xen/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 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/tapdisk-ioemu
/usr/bin/remus /usr/bin/remus
/usr/sbin/blktapctrl /usr/sbin/blktapctrl
/usr/sbin/flask-loadpolicy /usr/sbin/flask-*
/usr/sbin/flask-getenforce /usr/sbin/tap*
/usr/sbin/flask-setenforce
/usr/sbin/flask-get-bool
/usr/sbin/flask-label-pci
/usr/sbin/flask-set-bool
/usr/sbin/rcpciback /usr/sbin/rcpciback
/usr/sbin/tapdisk /usr/sbin/xenbaked
/usr/sbin/xen* /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/xsview
/usr/sbin/gtracestat /usr/sbin/gtracestat
/usr/sbin/gtraceview /usr/sbin/gtraceview
/usr/sbin/lock-util /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/td-util
/usr/sbin/vhd-update /usr/sbin/vhd-update
/usr/sbin/vhd-util /usr/sbin/vhd-util
/usr/sbin/gdbsx /usr/sbin/gdbsx
/usr/sbin/xl /usr/sbin/xl
/usr/sbin/kdd /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 %{_libdir}/xen
%ifarch x86_64 %ifarch x86_64
/usr/lib/xen /usr/lib/xen
%endif %endif
%{_mandir}/man1/*.1.gz %dir /var/adm/fillup-templates
%{_mandir}/man8/*.8.gz /var/adm/fillup-templates/sysconfig.pciback
/var/adm/fillup-templates/* /var/adm/fillup-templates/sysconfig.xencommons
%dir /var/lib/xen %dir /var/lib/xen
%dir %attr(700,root,root) /var/lib/xen/images %dir %attr(700,root,root) /var/lib/xen/images
%dir %attr(700,root,root) /var/lib/xen/save %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/lib/xenstored
%dir /var/log/xen %dir /var/log/xen
%dir /var/log/xen/console %dir /var/log/xen/console
%config /etc/init.d/*
%config /etc/logrotate.d/xen %config /etc/logrotate.d/xen
%dir %attr(700,root,root) /etc/xen
/etc/xen/auto /etc/xen/auto
%config /etc/xen/examples %config /etc/xen/examples
/etc/xen/images /etc/xen/images
/etc/xen/scripts
%config /etc/xen/cpupool %config /etc/xen/cpupool
/etc/xen/README* /etc/xen/README*
%config /etc/xen/vm %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(noreplace) /etc/xen/xl.conf
%config /etc/pam.d/xen-api %config /etc/pam.d/xen-api
%config /etc/modprobe.d/xen_loop.conf %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/modprobe.d
%dir /etc/udev %dir /etc/udev
%dir /etc/udev/rules.d %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-up.d/xen
/etc/sysconfig/network/if-down.d/xen /etc/sysconfig/network/if-down.d/xen
/etc/bash_completion.d/xl.sh /etc/bash_completion.d/xl.sh
%dir %{_defaultdocdir}/xen %dir %{_datadir}/qemu-xen
%{_defaultdocdir}/xen/COPYING %{_datadir}/qemu-xen/*
%{_defaultdocdir}/xen/README.SuSE %dir %{_datadir}/xen
%{_defaultdocdir}/xen/boot.local.xenU %{_datadir}/xen/*.dtd
%{_defaultdocdir}/xen/boot.xen %dir %{_datadir}/xen/qemu
%{_defaultdocdir}/xen/misc %{_datadir}/xen/qemu/*
%dir %{_libdir}/python%{pyver}/site-packages/grub %dir %{_libdir}/python%{pyver}/site-packages/grub
%dir %{_libdir}/python%{pyver}/site-packages/xen %dir %{_libdir}/python%{pyver}/site-packages/xen
%dir %{_libdir}/python%{pyver}/site-packages/xen/lowlevel %dir %{_libdir}/python%{pyver}/site-packages/xen/lowlevel
%dir %{_libdir}/python%{pyver}/site-packages/xen/xsview %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/grub/*
%{_libdir}/python%{pyver}/site-packages/xen/__init__* %{_libdir}/python%{pyver}/site-packages/xen/__init__*
%{_libdir}/python%{pyver}/site-packages/xen/lowlevel/* %{_libdir}/python%{pyver}/site-packages/xen/lowlevel/*
%{_libdir}/python%{pyver}/site-packages/xen/xsview/* %{_libdir}/python%{pyver}/site-packages/xen/xsview/*
%{_libdir}/python%{pyver}/site-packages/fsimage.so %{_libdir}/python%{pyver}/site-packages/fsimage.so
%{_libdir}/python%{pyver}/site-packages/xnloader.py %{_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 %files xend-tools
%defattr(-,root,root) %defattr(-,root,root)
%{_mandir}/man5/*.5.gz
/etc/udev/rules.d/40-xend.rules /etc/udev/rules.d/40-xend.rules
/usr/sbin/rcxendomains /usr/sbin/rcxendomains
/usr/sbin/rcxend /usr/sbin/rcxend
/usr/sbin/xm /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
%dir /var/lib/xen/xend-db/domain %dir /var/lib/xen/xend-db/domain
%dir /var/lib/xen/xend-db/migrate %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/xend
%dir %{_libdir}/python%{pyver}/site-packages/xen/xm %dir %{_libdir}/python%{pyver}/site-packages/xen/xm
%dir %{_libdir}/python%{pyver}/site-packages/xen/web %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/*.sxp
%config(noreplace) /etc/xen/*.xml %config(noreplace) /etc/xen/*.xml
/etc/xen/scripts/xend-relocation.sh
%{_libdir}/python%{pyver}/site-packages/xen/remus/* %{_libdir}/python%{pyver}/site-packages/xen/remus/*
%{_libdir}/python%{pyver}/site-packages/xen/sv/* %{_libdir}/python%{pyver}/site-packages/xen/sv/*
%{_libdir}/python%{pyver}/site-packages/xen/util/* %{_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/xm/*
%{_libdir}/python%{pyver}/site-packages/xen/web/* %{_libdir}/python%{pyver}/site-packages/xen/web/*
%config %{_fwdefdir}/xend-relocation-server %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 %endif
%files tools-domU %files tools-domU