Fixed bug in RPM spec file that adds python3.4 as a dependency of python2-gwpy
This PR fixes a bug in the spec.template
file that ended up with /usr/bin/python3.4
as a dependency of the python2-gwpy
RPM package.
The trick is that we need to build python2 after python3, so that the resulting bin/
files have /usr/bin/python2
in their shebang line - this gets pulled into the dependencies for the resulting python2-gwpy
RPM package.
This also means that when we move to having python3x-gwpy
supply the binaries, we need to switch the %build
order back again.