For Fedora 40 run the following as root:
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:m-grant-prg/Fedora_40/home:m-grant-prg.repo
dnf install swoc
For Fedora 39 run the following as root:
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:m-grant-prg/Fedora_39/home:m-grant-prg.repo
dnf install swoc
For Fedora 38 run the following as root:
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:m-grant-prg/Fedora_38/home:m-grant-prg.repo
dnf install swoc