Re: [Rpm-maint] [rpm-software-management/rpm] if-else rich dependency always installs the if leg (Issue #3082)

2024-05-07 Thread Zbigniew Jędrzejewski-Szmek
Thanks. You are completely right, I misunderstood what is part of the stack is doing what. I added the Suggests as suggested, and it works. Thanks again. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3082#issuecomment-2098790412 You

Re: [Rpm-maint] [rpm-software-management/rpm] if-else rich dependency always installs the if leg (Issue #3082)

2024-05-07 Thread Zbigniew Jędrzejewski-Szmek
Closed #3082 as not planned. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3082#event-12731802803 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [Rpm-maint] [rpm-software-management/rpm] if-else rich dependency always installs the if leg (Issue #3082)

2024-05-07 Thread Michael Schroeder
This is not a rpm issue. rpm just checks if all dependencies are fulfilled, it does not choose packages. So you would need to take this to the dnf people who will tell you to ask the libsolv folks. Anyway, what happens is that your dependency is basically telling the solver "either install

Re: [Rpm-maint] [rpm-software-management/rpm] if-else rich dependency always installs the if leg (Issue #3082)

2024-05-07 Thread Zbigniew Jędrzejewski-Szmek
https://src.fedoraproject.org/fork/zbyszek/rpms/redhat-rpm-config/commits/post-build-reproducibility-debug is the branch. The middle commit shows the unexpected behaviour and the third one is for debugging. -- Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] if-else rich dependency always installs the if leg (Issue #3082)

2024-05-07 Thread Zbigniew Jędrzejewski-Szmek
**Describe the bug** The docs say: > `if` - requires the first operand to be fulfilled if the second is (reverse > implication) > `if else` - same as above but requires the third operand to be fulfilled if > the second is not I added the following to `redhat-rpm-macros`: > `Requires: