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 are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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 add-determinism-nopython or install both python3-libs and 
add-determinism". Both are valid solutions and the solver is free to pick the 
one it likes. You could try to add a "Suggests: add-determinism-nopython" to 
give it a hint that it should prefer the nopython variant.

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

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


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:
https://github.com/rpm-software-management/rpm/issues/3082#issuecomment-2098101123
You are receiving this because you are subscribed to this thread.

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint