Index: /trunk/src/VBox/Installer/linux/distributions_rpm
===================================================================
--- /trunk/src/VBox/Installer/linux/distributions_rpm	(revision 35965)
+++ /trunk/src/VBox/Installer/linux/distributions_rpm	(revision 35966)
@@ -22,4 +22,10 @@
 rhel5           = RHEL_5
 rhel4           = RHEL_4
+centos6         = CENTOS_6
+centos5         = CENTOS_5
+centos4         = CENTOS_4
 pclinuxos2007   = PCLINUXOS_2007
 turbolinux11    = TURBOLINUX_11
+ol6             = ORACLE_6
+ol5             = ORACLE_5
+ol4             = ORACLE_4
Index: /trunk/src/VBox/Installer/linux/rpm/rules
===================================================================
--- /trunk/src/VBox/Installer/linux/rpm/rules	(revision 35965)
+++ /trunk/src/VBox/Installer/linux/rpm/rules	(revision 35966)
@@ -56,5 +56,5 @@
  endif
 
- ifeq ($(filter-out rhel4 rhel5 rhel6 fedora9 fedora11 fedora12 fedora13 fedora14 pclinuxos2007 turbolinux11,$(rpmrel)),)
+ ifeq ($(filter-out rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 fedora9 fedora11 fedora12 fedora13 fedora14 pclinuxos2007 turbolinux11,$(rpmrel)),)
   rpmspec := rpm_redhat
  endif
@@ -80,5 +80,5 @@
 
 # Fedora13/14 is bleeding edge, the other jails have outdated kernel headers
-instmod  := $(if $(filter rhel4 rhel5 rhel6 sles10.1 sles11.0 pclinuxos2007 fedora13 fedora14,$(rpmrel)),,install_rpm)
+instmod  := $(if $(filter rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 sles10.1 sles11.0 pclinuxos2007 fedora13 fedora14,$(rpmrel)),,install_rpm)
 
 ifneq ($(STAGEDISO),)
@@ -104,9 +104,9 @@
 	     $(if $(filter rhel4 sles10.1,$(rpmrel)),--build-libxslt,) \
 	     $(if $(filter rhel4,$(rpmrel)),--build-libssl,) \
-	     $(if $(filter rhel4 rhel5 sles10.1,$(rpmrel)),--build-libcurl,) \
-	     $(if $(filter rhel5 sles10.1,$(rpmrel)),--disable-sdl-ttf,) \
+	     $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5 sles10.1,$(rpmrel)),--build-libcurl,) \
+	     $(if $(filter rhel5 centos5 sles10.1,$(rpmrel)),--disable-sdl-ttf,) \
 	     $(if $(filter sles10.1 turbolinux11,$(rpmrel)),--disable-pulse,) \
-	     $(if $(filter rhel4 rhel5,$(rpmrel)),--enable-pulse,) \
-	     $(if $(filter rhel4 rhel5 sles10.1 turbolinux11,$(rpmrel)),--with-qt4-dir=/home/vbox/Qt-4.4.3-stdc++6-$(arch)) \
+	     $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5,$(rpmrel)),--enable-pulse,) \
+	     $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5 sles10.1 turbolinux11,$(rpmrel)),--with-qt4-dir=/home/vbox/Qt-4.4.3-stdc++6-$(arch)) \
 	     $(if $(DEBUG),--build-debug,)
 
@@ -124,5 +124,5 @@
 	     $(if $(STAGEDISO),VBOX_WITHOUT_ADDITIONS=1,) \
 	     $(if $(BLEEDING_EDGE),VBOX_BLEEDING_EDGE=$(BLEEDING_EDGE),) \
-	     $(if $(filter rhel4 rhel5 fedora9 fedora10 sles10.1 turbolinux11,$(rpmrel)),,VBOX_WITH_SYSFS_BY_DEFAULT=1)
+	     $(if $(filter rhel4 rhel5 ol4 ol5 centos4 centos5 fedora9 fedora10 sles10.1 turbolinux11,$(rpmrel)),,VBOX_WITH_SYSFS_BY_DEFAULT=1)
 
 rpm/configure-stamp:
