- update insserv part, see comments in OBS submit request #112701

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=23
This commit is contained in:
Olaf Hering 2012-05-02 10:13:59 +00:00 committed by Git OBS Bridge
parent 7ebfd47ad8
commit e7ee948602
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 2 12:13:03 CEST 2012 - ohering@suse.de
- update insserv part, see comments in OBS submit request #112701
-------------------------------------------------------------------
Tue Mar 27 08:50:43 CEST 2012 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package hyper-v
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define with_kmp 0
%if %{with_kmp}
@ -25,15 +24,17 @@
Name: hyper-v
%if %{with_kmp}
BuildRequires: kernel-default-devel module-init-tools
BuildRequires: kernel-default-devel
BuildRequires: module-init-tools
%ifarch %ix86
BuildRequires: kernel-pae-devel
%endif
%endif
ExclusiveArch: %ix86 x86_64
PreReq: %insserv_prereq
Group: System/Kernel
Summary: Microsoft Hyper-V tools
License: GPL-2.0
Group: System/Kernel
Supplements: modalias(dmi*:svn*MicrosoftCorporation*:pn*VirtualMachine*:rn*VirtualMachine*)
Supplements: modalias(pci:v00001414d00005353sv*sd*bc*sc*i*)
Url: http://www.kernel.org
@ -48,7 +49,6 @@ Source5: hyper-v.kvptest.ps1.txt
Source9: hyper-v.include.linux.hyperv.h
Source10: hyper-v.tools.hv.hv_kvp_daemon.c
Source11: hyper-v.init.sh
License: GPL-2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with_kmp}
%if %{with_drivers_in_kmp}
@ -67,9 +67,8 @@ This package contains the Microsoft Hyper-V tools.
%package KMP
Group: System/Kernel
Summary: Microsoft Hyper-V drivers
Group: System/Kernel
%description KMP
This package contains the Microsoft Hyper-V drivers.
@ -156,9 +155,7 @@ fi
if test "${board_vendor}" = "Microsoft Corporation" -a "${product_name}" = "Virtual Machine"
then
echo "Enabling %{hv_kvp_daemon} on '${product_name}' from '${board_vendor}'"
%{fillup_and_insserv -Y %{hv_kvp_daemon}}
else
%{fillup_and_insserv %{hv_kvp_daemon}}
%{insserv_force_if_yast %{hv_kvp_daemon}}
fi
%preun