* Changes PETSC_ARCH definition to %_arch instead of linux-gnu-c-opt; this is in line with upstream's recommendation and what Fedora does and should be ok for openSUSE not that we no longer use hpc macros.
* Modify petsc-fix-libdir.patch to use sysconfig.get_config_vars('platlibdir') instead of sys.platlibdir for compatibility with python 3.6 (fix FTBFS on 15.6 and older).
* Actually bail out before running make when configuring fails.
OBS-URL: https://build.opensuse.org/package/show/science/petsc?expand=0&rev=147
* Add petsc-fix-install-libdir.patch: Install libraries to system arch compatible lib dir (e.g. 'lib64' for x86_64).
* Drop and add hashbangs as required for non-exec and exec python scripts respectively.
* Implement a %check section and run make check.
* Drop explicit specification of mpi library paths and allow `%setup_openmpi` to export relevant paths.
* Fix an incorrect file encoding.
OBS-URL: https://build.opensuse.org/package/show/science/petsc?expand=0&rev=144