You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change enables the override of the auto-detected
`/etc/os-release`-based `debuginfo_type` attribute of the
`build_repo_for_rpmbuild_toolchain` repository rule and allows the
auto-detection by means of a new `default` option.
This also enables the use of` none` as an override option.
This change also includes a regeneration of the documentation, which
seems to have trailed recent code changes. But there are no
documentation changes related to this change as
`build_repo_for_rpmbuild_toolchain` repository rule is not documented
(yet).
@@ -138,6 +138,7 @@ include both. If you need downstream rule to specifically depend on only the .de
138
138
| <aid="pkg_deb-homepage"></a>homepage | The homepage of the project. | String | optional |`""`|
139
139
| <aid="pkg_deb-license"></a>license | The license of the project. | String | optional |`""`|
140
140
| <aid="pkg_deb-maintainer"></a>maintainer | The maintainer of the package. | String | required ||
141
+
| <aid="pkg_deb-md5sums"></a>md5sums | A file listing md5 checksums of files in the data archive. This file is optional. See https://manpages.debian.org/bookworm/dpkg-dev/deb-md5sums.5.en.html.| <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
141
142
| <aid="pkg_deb-package"></a>package | The name of the package | String | required ||
| <aid="pkg_rpm-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
289
290
| <aid="pkg_rpm-srcs"></a>srcs | Mapping groups to include in this RPM.<br><br>These are typically brought into life as `pkg_filegroup`s. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
291
+
| <aid="pkg_rpm-data"></a>data | Extra files that are needed by rpmbuild or find-debuginfo | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
290
292
| <aid="pkg_rpm-architecture"></a>architecture | Package architecture.<br><br>This currently sets the `BuildArch` tag, which influences the output architecture of the package.<br><br>Typically, `BuildArch` only needs to be set when the package is known to be cross-platform (e.g. written in an interpreted language), or, less common, when it is known that the application is only valid for specific architectures.<br><br>When no attribute is provided, this will default to your host's architecture. This is usually what you want. | String | optional |`""`|
291
293
| <a id="pkg_rpm-binary_payload_compression"></a>binary_payload_compression | Compression mode used for this RPM<br><br>Must be a form that `rpmbuild(8)` knows how to process, which will depend on the version of `rpmbuild` in use. The value corresponds to the `%_binary_payload` macro and is set on the `rpmbuild(8)` command line if provided.<br><br>Some examples of valid values (which may not be supported on your system) can be found [here](https://git.io/JU9Wg). On CentOS systems (also likely Red Hat and Fedora), you can find some supported values by looking for `%_binary_payload` in `/usr/lib/rpm/macros`. Other systems have similar files and configurations.<br><br>If not provided, the compression mode will be computed by `rpmbuild` itself. Defaults may vary per distribution or build of `rpm`; consult the relevant documentation for more details.<br><br>WARNING: Bazel is currently not aware of action threading requirements for non-test actions. Using threaded compression may result in overcommitting your system. | String | optional | `""` |
| <aid="pkg_tar-stamp"></a>stamp | Enable file time stamping. Possible values: <li>stamp = 1: Use the time of the build as the modification time of each file in the archive. <li>stamp = 0: Use an "epoch" time for the modification time of each file. This gives good build result caching. <li>stamp = -1: Control the chosen modification time using the --[no]stamp flag. <divclass="since"><i>Since 0.5.0</i></div> | Integer | optional |`0`|
0 commit comments