Fix bnc#918169 the way it should be.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=344
This commit is contained in:
Charles Arnold 2015-02-17 19:02:27 +00:00 committed by Git OBS Bridge
parent b295f20e8f
commit d6127aeafb

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# needssslcertforbuild
Name: xen
@ -287,7 +286,7 @@ Url: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define pyver %(python -c "import sys; print sys.version[:3]")
%if %{?with_kmp}0
%suse_kernel_module_package -n xen um xen -f kmp_filelist
%suse_kernel_module_package -n xen um pv xen -f kmp_filelist
%endif
%description
@ -692,10 +691,6 @@ 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