- bnc#918169 - XEN fixes required to work with Kernel 3.19.0
xen.spec - Package xen.changes because its referenced in xen.spec OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=343
This commit is contained in:
parent
1eaaf6d1c9
commit
b295f20e8f
11
xen.changes
11
xen.changes
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 17 10:48:56 MST 2015 - carnold@suse.com
|
||||
|
||||
- bnc#918169 - XEN fixes required to work with Kernel 3.19.0
|
||||
xen.spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 10 16:06:40 UTC 2015 - ohering@suse.de
|
||||
|
||||
- Package xen.changes because its referenced in xen.spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 28 08:44:32 MST 2015 - carnold@suse.com
|
||||
|
||||
|
20
xen.spec
20
xen.spec
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
# needssslcertforbuild
|
||||
|
||||
Name: xen
|
||||
@ -149,7 +150,7 @@ BuildRequires: xorg-x11-util-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Version: 4.5.0_02
|
||||
Version: 4.5.0_03
|
||||
Release: 0
|
||||
Summary: Xen Virtualization: Hypervisor (aka VMM aka Microkernel)
|
||||
License: GPL-2.0
|
||||
@ -160,6 +161,7 @@ Source2: qemu-xen-traditional-dir-remote.tar.bz2
|
||||
Source3: qemu-xen-dir-remote.tar.bz2
|
||||
Source4: seabios-dir-remote.tar.bz2
|
||||
Source5: ipxe.tar.bz2
|
||||
Source9: xen.changes
|
||||
Source10: README.SUSE
|
||||
Source11: boot.xen
|
||||
Source12: boot.local.xenU
|
||||
@ -594,13 +596,13 @@ XEN_BUILD_TIME="`date -u -d '1970-01-01' +%%T`"
|
||||
SMBIOS_DATE="`date -u -d '1970-01-01' +%%m/%%d/%%Y`"
|
||||
RELDATE="`date -u -d '1970-01-01' '+%%d %%b %%Y'`"
|
||||
SEABIOS_DATE="`date -u -d '1970-01-01' '+?-%%Y%%m%%d_%%H%%M%%S-buildhost'`"
|
||||
if test -r $RPM_SOURCE_DIR/xen.changes
|
||||
if test -r %{S:9}
|
||||
then
|
||||
XEN_BUILD_DATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' $RPM_SOURCE_DIR/xen.changes)\" `"
|
||||
XEN_BUILD_TIME="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' $RPM_SOURCE_DIR/xen.changes)\" +%%T`"
|
||||
SMBIOS_DATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' $RPM_SOURCE_DIR/xen.changes)\" +%%m/%%d/%%Y`"
|
||||
RELDATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' $RPM_SOURCE_DIR/xen.changes)\" '+%%d %%b %%Y'`"
|
||||
SEABIOS_DATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' $RPM_SOURCE_DIR/xen.changes)\" '+?-%%Y%%m%%d_%%H%%M%%S-buildhost'`"
|
||||
XEN_BUILD_DATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' %{S:9})\" `"
|
||||
XEN_BUILD_TIME="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' %{S:9})\" +%%T`"
|
||||
SMBIOS_DATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' %{S:9})\" +%%m/%%d/%%Y`"
|
||||
RELDATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' %{S:9})\" '+%%d %%b %%Y'`"
|
||||
SEABIOS_DATE="` date -u -d \"$(sed -n '/@/{s/ - .*$//p;q}' %{S:9})\" '+?-%%Y%%m%%d_%%H%%M%%S-buildhost'`"
|
||||
fi
|
||||
cat > .our_xenversion <<_EOV_
|
||||
export WGET=$(type -P false)
|
||||
@ -690,6 +692,10 @@ export XL=/usr/src/linux
|
||||
export XEN=/usr/src/linux/include/xen
|
||||
mkdir -p obj
|
||||
for flavor in %flavors_to_build; do
|
||||
echo "flavor=$flavor"
|
||||
if [ "$flavor" == "pv" ]; then
|
||||
continue
|
||||
fi
|
||||
rm -rf obj/$flavor
|
||||
cp -r unmodified_drivers/linux-2.6 obj/$flavor
|
||||
cd obj/$flavor
|
||||
|
Loading…
Reference in New Issue
Block a user