summaryrefslogtreecommitdiffstats
path: root/src/VBox/Installer/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Installer/linux')
-rw-r--r--src/VBox/Installer/linux/distributions_rpm1
-rwxr-xr-xsrc/VBox/Installer/linux/rpm/rules2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/VBox/Installer/linux/distributions_rpm b/src/VBox/Installer/linux/distributions_rpm
index cb33dbd0..cded6168 100644
--- a/src/VBox/Installer/linux/distributions_rpm
+++ b/src/VBox/Installer/linux/distributions_rpm
@@ -2,6 +2,7 @@ openSUSETW = OPENSUSE_TW
openSUSE155 = OPENSUSE_15_5
openSUSE154 = OPENSUSE_15_4
openSUSE153 = OPENSUSE_15_3
+fedora40 = FEDORA_40
fedora38 = FEDORA_38
fedora37 = FEDORA_37
fedora36 = FEDORA_36
diff --git a/src/VBox/Installer/linux/rpm/rules b/src/VBox/Installer/linux/rpm/rules
index 21cf35ea..023fbf09 100755
--- a/src/VBox/Installer/linux/rpm/rules
+++ b/src/VBox/Installer/linux/rpm/rules
@@ -124,7 +124,7 @@ ifneq ($(MAKECMDGOALS),clean)
$(error Cannot detect package distribution (rpmrel=$(rpmrel)))
endif
- ifeq ($(filter-out el5 el6 el7 el8 el9 fedora18 fedora19 fedora20 fedora21 fedora22 fedora24 fedora25 fedora26 fedora29 fedora31 fedora32 fedora33 fedora35 fedora36,$(rpmrel)),)
+ ifeq ($(filter-out el5 el6 el7 el8 el9 fedora18 fedora19 fedora20 fedora21 fedora22 fedora24 fedora25 fedora26 fedora29 fedora31 fedora32 fedora33 fedora35 fedora36 fedora40,$(rpmrel)),)
rpmspec := rpm_redhat
endif
ifeq ($(filter-out openSUSE110 openSUSE111 openSUSE112 openSUSE113 openSUSE114 openSUSE123 openSUSE131 openSUSE132 openSUSE150 openSUSE153 openSUSETW,$(rpmrel)),)