From bd0491518c851b5b3815be0c8867398b703c2a148a79d02b657bdc293a8729f2 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sun, 25 Jun 2017 17:14:46 +0000 Subject: [PATCH] Fix "requires" for net-tools-deprecated so that Leap 42.3 will build. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=342 --- virtualbox.changes | 2 +- virtualbox.spec | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index ec47f1d..8779755 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -2,7 +2,7 @@ Sun Jun 25 17:09:01 UTC 2017 - Larry.Finger@lwfinger.net - Fix logic error in scripts to build kernel modules locally - see bnc#1042726. - Temporarily remove "requires" for net-tools-deprecated so that Leap 42.3 will build. + Fix "requires" for net-tools-deprecated so that Leap 42.3 will build. ------------------------------------------------------------------- Sun Jun 25 00:20:08 UTC 2017 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index ec5e4f0..f98c8b9 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -175,9 +175,9 @@ BuildRequires: pkgconfig(xrandr) Requires: %{name}-host-kmp = %{version} Requires(post): sysvinit(syslog) Requires(pre): permissions -#%if ! 0%{?suse_version} > 1325 -#Requires(pre): net-tools-deprecated -#%endif +%if ! 0%{?suse_version} > 1325 +Requires(pre): net-tools-deprecated +%endif Requires(pre): pwdutils Requires(pre): %insserv_prereq Requires(pre): %fillup_prereq @@ -274,7 +274,9 @@ Supplements: modalias(pci:v000080EEd0000BEEFsv*sd*bc*sc*i*) Provides: %{name}-ose-guest-tools = %{version} Obsoletes: %{name}-ose-guest-tools < %{version} Requires(pre): %insserv_prereq +%if ! 0%{?suse_version} > 1325 Requires(pre): net-tools-deprecated +#endif %description guest-tools VirtualBox guest addition tools.