load("@rules_pkg//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild") find_system_rpmbuild( name = "rules_pkg_rpmbuild", verbose = False, ) MODULE.bazel setup bazel_dep(name = "rules_pkg", version = "0.0.10") To use pkg_rpm(), you must provide a copy of rpmbui...
Since upgrading from pkg_rpm in @bazel_tools to rules_pkg, I encountered the following error, without changes to my SPEC file: Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/tmp4k4_jcvn/BUILD error: Installed (but unpacka...
$ bazel build main:hello ERROR: /home/topaz/Projects/BazelDemo/stage4/main/BUILD:8:8: //main:hello_rpm: no such attribute 'out' in 'pkg_rpm' rule ERROR: Skipping 'main:hello': Error evaluating 'main:hello': error loading package 'main': Package 'main' contains errors WARNING: Target...