On 5/18/22 07:31, stan via users wrote:
Caveat: I don't understand the rpm package naming convention with
parentheses, like mvn(com.ongres.scram:client). They don't work on the
command line without escaping the parens, and I'm not sure what
information they are conveying. The explanation of this was not
It's a common convention used in the rpm packaging to indicate what
you're needing instead of specifying a specific package. The required
"library" (or whatever) could move to another package and it wouldn't
matter. But it's just as useful when you know you need a certain
dependency, but don't know which package it is. And yes, you do have to
quote them, at least if you're using bash.
Random examples:
# rpm -q --provides perl-bignum
perl(Math::BigFloat::Trace) = 0.60
perl(Math::BigInt::Trace) = 0.60
perl(bigint) = 0.60
perl(bignum) = 0.60
perl(bigrat) = 0.60
# rpm -q --provides openssl-devel
pkgconfig(libcrypto) = 1.1.1n
pkgconfig(libssl) = 1.1.1n
pkgconfig(openssl) = 1.1.1n
For Java, you would use the "mvn()" notation if you know the Java
package name (Maven dependency) you're looking for:
# dnf install "mvn(com.ongres.scram:client)"
Package ongres-scram-client-2.1-3.fc35.noarch is already installed.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure