Rules to create RPM archives.
NOTE: this module is deprecated in favor of pkg/rpm_pfg.bzl. For more
information on the
pkg_filegroup framework it uses, see pkg/mappings.bzl.
pkg_rpm() depends on the existence of an rpmbuild toolchain. Many users will find to convenient to use the one provided with their system. To enable that toolchain add the following stanza to WORKSPACE:
# Find rpmbuild if it exists. load("@rules_pkg//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild") find_system_rpmbuild(name="rules_pkg_rpmbuild")
Example usage (generated)
load("@rules_pkg//pkg/legacy:rpm.bzl", "pkg_rpm") pkg_rpm( # A unique name for this target. name = "", data = , spec_file = "", )
A unique name for this target.