https://github.com/vbatts/copr-build-bazel
copr build of bazel | https://copr.fedorainfracloud.org/coprs/vbatts/bazel/
https://github.com/vbatts/copr-build-bazel
bazel rpm rpm-packages rpm-spec
Last synced: about 11 hours ago
JSON representation
copr build of bazel | https://copr.fedorainfracloud.org/coprs/vbatts/bazel/
- Host: GitHub
- URL: https://github.com/vbatts/copr-build-bazel
- Owner: vbatts
- Created: 2017-08-03T17:54:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T12:15:41.000Z (almost 2 years ago)
- Last Synced: 2025-09-14T04:30:25.415Z (25 days ago)
- Topics: bazel, rpm, rpm-packages, rpm-spec
- Language: Makefile
- Size: 94.7 KB
- Stars: 17
- Watchers: 2
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bazel build on copr
This is the rpm spec for generating rpm and/or src.rpm to build [bazel](https://bazel.build/).
The resulting builds can be found on https://copr.fedorainfracloud.org/coprs/vbatts/bazel/.## build it yourself
### Building in a fedora/centos container:
* produce a src.rpm, for use on your own copr, or build system, or even then:
```shell
make container.rebuild
```* get a bash cli in the target build environment
```shell
make container.run
```* kick of a build on [copr](https://copr.fedorainfracloud.org/coprs/vbatts/bazel/)
```shell
make container.copr
```### Building on the target Fedora or Centos Host:
* build the source RPM
```shell
make srpm
```* produce a src.rpm, for use on your own copr, or build system, or even then:
```shell
rpmbuild --rebuild ...src.rpm
```* If you are building local, just:
```shell
make rpm
```* kick of a build on [copr](https://copr.fedorainfracloud.org/coprs/vbatts/bazel/)
```shell
make copr
```which builds through to the binary rpm.
## Major versions
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)
## Prior versions
If you need a prior version than is found on the COPR repo, check out the [tagged releases](https://github.com/vbatts/copr-build-bazel/releases).
(Whether downloading that source bundle or git checkout the tag)