From 3a1070dee990a224210314132bbb6753975798df Mon Sep 17 00:00:00 2001 From: Tony Aiuto Date: Fri, 22 Dec 2023 09:14:29 -0500 Subject: update docs --- docs/latest.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/latest.md b/docs/latest.md index b66d856..5939363 100755 --- a/docs/latest.md +++ b/docs/latest.md @@ -180,13 +180,13 @@ find_system_rpmbuild(name="rules_pkg_rpmbuild") ## pkg_rpm
-pkg_rpm(name, architecture, binary_payload_compression, changelog, conflicts, debug, description,
-        description_file, group, license, obsoletes, package_file_name, package_name,
-        package_variables, post_scriptlet, post_scriptlet_file, postun_scriptlet,
-        postun_scriptlet_file, pre_scriptlet, pre_scriptlet_file, preun_scriptlet,
-        preun_scriptlet_file, provides, release, release_file, requires, requires_contextual,
-        rpmbuild_path, source_date_epoch, source_date_epoch_file, spec_template, srcs, summary, url,
-        version, version_file)
+pkg_rpm(name, architecture, binary_payload_compression, changelog, conflicts, debug, defines,
+        description, description_file, group, license, obsoletes, package_file_name, package_name,
+        package_variables, post_scriptlet, post_scriptlet_file, posttrans_scriptlet,
+        posttrans_scriptlet_file, postun_scriptlet, postun_scriptlet_file, pre_scriptlet,
+        pre_scriptlet_file, preun_scriptlet, preun_scriptlet_file, provides, release, release_file,
+        requires, requires_contextual, rpmbuild_path, source_date_epoch, source_date_epoch_file,
+        spec_template, srcs, summary, url, version, version_file)
 
Creates an RPM format package via `pkg_filegroup` and friends. @@ -238,6 +238,7 @@ Creates an RPM format package via `pkg_filegroup` and friends. | changelog | - | Label | optional | None | | conflicts | List of capabilities that conflict with this package when it is installed.

Corresponds to the "Conflicts" preamble tag.

See also: https://rpm-software-management.github.io/rpm/manual/dependencies.html | List of strings | optional | [] | | debug | Debug the RPM helper script and RPM generation | Boolean | optional | False | +| defines | Additional definitions to pass to rpmbuild | Dictionary: String -> String | optional | {} | | description | Multi-line description of this package, corresponds to RPM %description.

Exactly one of description or description_file must be provided. | String | optional | "" | | description_file | File containing a multi-line description of this package, corresponds to RPM %description. | Label | optional | None | | group | Optional; RPM "Group" tag.

NOTE: some distributions (as of writing, Fedora > 17 and CentOS/RHEL > 5) have deprecated this tag. Other distributions may require it, but it is harmless in any case. | String | optional | "" | @@ -248,6 +249,8 @@ Creates an RPM format package via `pkg_filegroup` and friends. | package_variables | See 'Common Attributes' in the rules_pkg reference | Label | optional | None | | post_scriptlet | RPM %post scriptlet. Currently only allowed to be a shell script.

post_scriptlet and post_scriptlet_file are mutually exclusive. | String | optional | "" | | post_scriptlet_file | File containing the RPM %post scriptlet | Label | optional | None | +| posttrans_scriptlet | RPM %posttrans scriptlet. Currently only allowed to be a shell script.

posttrans_scriptlet and posttrans_scriptlet_file are mutually exclusive. | String | optional | "" | +| posttrans_scriptlet_file | File containing the RPM %posttrans scriptlet | Label | optional | None | | postun_scriptlet | RPM %postun scriptlet. Currently only allowed to be a shell script.

postun_scriptlet and postun_scriptlet_file are mutually exclusive. | String | optional | "" | | postun_scriptlet_file | File containing the RPM %postun scriptlet | Label | optional | None | | pre_scriptlet | RPM %pre scriptlet. Currently only allowed to be a shell script.

pre_scriptlet and pre_scriptlet_file are mutually exclusive. | String | optional | "" | -- cgit v1.2.3