Skip to content

Commit 24b7122

Browse files
konturapkratoch
authored andcommitted
Clarify packages provides pattern specification
Additional restriction rules and rich deps format is supported only when the command accepts `<package-spec-P>`.
1 parent f334579 commit 24b7122

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

doc/misc/specs.7.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ sequentially until a match is found.
7373
For example ``<package-spec-NP>`` is first matched against NEVRAs and if no
7474
matching NEVRA is found it is matched against Provides.
7575

76-
When ``<package-spec>`` is a package name or a provide, the user can provide
76+
When filtering by Provides [P], the user can specify
7777
additional restriction rules for matching the arguments. Basic version comparisons
78-
can be used for this purpose (=, >, <, >=, <=), like this ``<package-spec> >= <version>``,
78+
can be used for this purpose (=, >, <, >=, <=), like this ``<provide> >= <version>``,
7979
where the ``<version>`` argument is in a ``[EPOCH:]VERSION[-RELEASE]`` format
8080
as specified in the :ref:`NEVRA matching <nevra_matching_ref-label>` section.
8181

82-
To build more complex expressions, a rich dependency feature
83-
is also supported, which is always enclosed in parentheses. Boolean
84-
operators and nesting can be used, f.e. ``(<spec1> or (<spec2> and <spec3>))``.
82+
To build more complex provides expressions, a rich dependency feature
83+
is supported. It is always enclosed in parentheses and boolean
84+
operators and nesting can be used, f.e. ``(<provide1> or (<provide2> and <provide3>))``.
8585
For more information, please see :ref:`RPM boolean dependencies <rpm_bool_deps_ref-label>`.
8686

8787
.. _nevra_matching_ref-label:

0 commit comments

Comments
 (0)