First, RPM does dependency checks for every type of operation. While the cli 
only offers certain operations updaters and other API users can do more complex 
operations. So matching the errors to the operation is not going to happen. 
This is a generic error than can be caused by any type of operation -  
including erases.

The "additional space" is an indentation that makes clear which lines belong to 
the `error: Failed dependencies:` message. While is may confuse you it is 
semantically significant and allows other people to make more sense of the 
error message.

The `if` is part of the dependency. This is indicated by the fact that the 
whole expression is surrounded by parenthesis. This is not meant to be a 
sentence but `Requires: (libdecor-0.so.0()(64bit) if libwayland-client)` is 
pretty close to proper English. See 
https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.html 
for details.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2428#issuecomment-1471842125
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2428/1471842...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to