bazelbuild / bazelbuild/rules_pkg

Support additional rpm spec directives

Open
#935 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.