diff --git a/hyper-v.changes b/hyper-v.changes index 0c65cec..c908f35 100644 --- a/hyper-v.changes +++ b/hyper-v.changes @@ -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 diff --git a/hyper-v.spec b/hyper-v.spec index 60c8028..a2aa756 100644 --- a/hyper-v.spec +++ b/hyper-v.spec @@ -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