doit: Fix typo in Fedora targets

Fix a typo when building a Fedora target. Also, add Fedora 42 support.
This commit is contained in:
Alex Pyrgiotis 2025-04-02 11:44:50 +03:00
parent 9df825db5c
commit 14a480c3a3
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -8,7 +8,7 @@ from doit.action import CmdAction
ARCH = "arm64" if platform.machine() == "arm64" else "i686"
VERSION = open("share/version.txt").read().strip()
FEDORA_VERSIONS = ["40", "41"]
FEDORA_VERSIONS = ["40", "41", "42"]
DEBIAN_VERSIONS = ["bullseye", "jammy", "mantic", "noble", "trixie"]
### Global parameters
@ -124,7 +124,7 @@ def build_deb(cwd):
def build_rpm(version, cwd, qubes=False):
"""Build an .rpm package on the requested Fedora distro."""
return build_linux_pkg(distro="Fedora", version=version, cwd=cwd, qubes=qubes)
return build_linux_pkg(distro="fedora", version=version, cwd=cwd, qubes=qubes)
### Tasks