tree: db421a16bddfa8bdcd458a7396fc0b9db7cb5977
  1. local/
  2. BUILD
  3. readme.md
  4. test_rpm.spec
  5. WORKSPACE
examples/prebuilt_rpmbuild/readme.md

Using a prebuilt rpmbuild instead of the system one.

To use

cp /usr/bin/rpmbuild local/rpmbuild_binary
bazel build :*
rpm2cpio bazel-bin/test-rpm.rpm | cpio -ivt
cat bazel-bin/content.txt