commit a6f14c5711aec5a9df5ee76fe0e89af3bbc9f29a
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Jun 18 22:07:00 2022 +0100
adjust vboxrel version on el
VirtualBox-kmod.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 013ce97..ff88f0a 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -29,7 +29,13 @@
#global prerel RC1
%global prereltag %{?prerel:_%(awk 'BEGIN {print
toupper("%{prerel}")}')}
+
+%if 0%{?fedora}
%global vboxrel 3
+%else
+%global vboxrel 2
+%endif
+
%global vboxreltag %{?vboxrel:-%{vboxrel}}
Name: VirtualBox-kmod