Skip to content

Commit c62c172

Browse files
committed
Fix purl docs for RPM modules
1 parent 5dad466 commit c62c172

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/purl.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ distribution versions.
8484
## Identifying RPM modules
8585

8686
[RPM modules](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/managing_software_with_the_dnf_tool/assembly_distribution-of-content-in-rhel-9_managing-software-with-the-dnf-tool#con_modules_assembly_distribution-of-content-in-rhel-9)
87-
allow grouping a set of RPMs to represent a single component. Installing for example the `nodejs` module may result in
87+
allow grouping a set of RPMs to represent a single component. Installing, for example, the `nodejs` module may result in
8888
the installation of the `c-ares` library, the `npm` package manager, the `nodejs` runtime, among other RPM packages.
8989

90-
RPM modules do not an existing purl type. We most often want to refer to a specific RPM without a module, and rarely
91-
to the RPM module itself, therefore we use the RPM type to refer to the specific RPM, and add an `rpmmod` qualifier
92-
to specify the module. For example the purl for the `libecap` RPM in the `squid:4` module available for RHEL 8.6 EUS
93-
would be the following:
90+
RPM modules do not have an existing purl type. In most cases, we want to refer to a specific RPM without a module, and
91+
rarely to the RPM module itself. Therefore, we use the RPM type to refer to the specific RPM, and add an `rpmmod`
92+
qualifier to specify the module. For example, the purl for the `libecap` RPM in the `squid:4` module available for
93+
RHEL 8.6 EUS would be the following:
9494

9595
```
96-
pkg:rpmmod/redhat/squid@4:8040020210420090912:522a0ee4?arch=ppc64le&repository_id=rhel-8-for-x86_64-appstream-eus-rpms__8_DOT_6
96+
pkg:rpm/redhat/[email protected]%2Bel8.1.0%2B4044%2B36416a77?rpmmod=squid:4:8030020200828070549:30b713e6&arch=ppc64le&repository_id=rhel-8-for-x86_64-appstream-eus-rpms__8_DOT_6
9797
```
9898

99-
The version component of the purl is a value that contains the Stream, Version, and Context, delimited by a colon.
99+
The `rpmmod` qualifier of the purl is a value that contains the Stream, Version, and Context, delimited by a colon.
100100

101101
## Identifying container images
102102

0 commit comments

Comments
 (0)