bazelbuild / rules_pkg

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
Apache License 2.0
221 stars 174 forks source link

Allow additional RPM macro defines #794

Closed kellyma2 closed 9 months ago

kellyma2 commented 9 months ago

For some RPM packaging scenarios users may wish to define additional macros. This change enables us to do this using the --rpmbuild_arg argument to the make_rpm.py script by passing a dict of defines to the pkg_rpm() rule.