This is the rpm spec for generating rpm and/or src.rpm to build bazel. The resulting builds can be found on https://copr.fedorainfracloud.org/coprs/vbatts/bazel/.
The ./Makefile
has a couple of convenience targets.
Notably:
make srpm
Will produce you a src.rpm, for use on your own copr, or build system, or even then:
rpmbuild --rebuild ...src.rpm
If you are building local, just:
make rpm
which builds through to the binary rpm.
This git repo, master
will track my latest iteration on the build.
But as upstream bazel have an aggressive release cycle for major version with breaking changes, there will be a corresponding branch.
Likewise, the package name will track the major version (i.e. bazel2
rpm will be built for the v2.y.z
upstream release)
If you need a prior version than is found on the COPR repo, check out the tagged releases. (Whether downloading that source bundle or git checkout the tag)