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