bazelbuild / bazelbuild/rules_pkg
Support additional rpm spec directives
Open
feature-request
P3
rpm
- Dominant language
- Starlark
- Stars
- 253
- Forks
- 221
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
There are some commonly used directives are currently missing from the rule.
- `BuildRequires`
- `AutoReqProv: no` and `%global __requires_exclude_from` etc (https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/)
For now, the only way is to use a custom spec template, but throwing arbitrary content to `preamble_pieces` would be nice.
https://github.com/bazelbuild/rules_pkg/blob/8c235607a015919328a03ead30996302e547a306/pkg/rpm_pfg.bzl#L512
Contributor guide
Assessment
This issue has not been assessed yet.