For openSUSE Factory run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:cahu:branches:security:SELinux:1231587/openSUSE_Factory/home:cahu:branches:security:SELinux:1231587.repo
zypper refresh
zypper install swig
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:cahu:branches:security:SELinux:1231587/15.6/home:cahu:branches:security:SELinux:1231587.repo
zypper refresh
zypper install swig
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:cahu:branches:security:SELinux:1231587/15.5/home:cahu:branches:security:SELinux:1231587.repo
zypper refresh
zypper install swig
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:cahu:branches:security:SELinux:1231587/15.4/home:cahu:branches:security:SELinux:1231587.repo
zypper refresh
zypper install swig