- Add patches to build with python 3.7 properly:
* swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch
* swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
* swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
* swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
* swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
* swig-3.0.12-fix-collections.patch
- Use version req to check for 1500 instead for non-existing release
- Move to generic requires those that are true under both conditions
- Use autopatch to apply all the patches at once
OBS-URL: https://build.opensuse.org/request/show/636170
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=108