commit c1b744260ff6c440968f682128561455a4f0256f
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Jun 11 23:01:05 2017 +0100
Remove Plague-specific weirdness with EOL of RHEL5
VirtualBox.spec | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 20d7a47..3bf7127 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -31,6 +31,13 @@ Summary: A general-purpose full virtualizer for PC hardware
License: GPLv2 or (GPLv2 and CDDL)
URL:
http://www.virtualbox.org/wiki/VirtualBox
+
+ExclusiveArch: i686 x86_64
+
+Group: System/Emulators/PC
+Requires: %{name}-server%{?isa} = %{version}
+Obsoletes: %{name}-qt
+
Source0:
http://download.virtualbox.org/virtualbox/%{version}%{?prereltag}/Virtual...
Source3: VirtualBox-60-vboxdrv.rules
Source5: VirtualBox-60-vboxguest.rules
@@ -127,19 +134,6 @@ BuildRequires: libvncserver-devel
%{?systemd_requires}
BuildRequires: systemd
-# Plague-specific weirdness
-%if 0%{?fedora} > 11 || 0%{?rhel} > 5
-ExclusiveArch: i686 x86_64
-%else %if 0%{?fedora} > 10
-ExclusiveArch: i586 x86_64
-%else
-ExclusiveArch: i386 x86_64
-%endif
-
-Group: System/Emulators/PC
-Requires: %{name}-server%{?isa} = %{version}
-Obsoletes: %{name}-qt
-
%description
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for
enterprise as well as home use. Not only is VirtualBox an extremely feature