For Fedora Rawhide run the following as root:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/system:systemd/Fedora_Rawhide/system:systemd.repo
dnf install systemd-rpm-macros
For Fedora 43 run the following as root:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/system:systemd/Fedora_43/system:systemd.repo
dnf install systemd-rpm-macros
For Fedora 42 run the following as root:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/system:systemd/Fedora_42/system:systemd.repo
dnf install systemd-rpm-macros