On Thu, May 11, 2023 at 11:06 AM Johannes Kastl <kastl@b1-systems.de> wrote:
Hi Andrei,
thanks for the quick reply.
On 11.05.23 at 09:57 Andrei Borzenkov wrote:
On Thu, May 11, 2023 at 10:54 AM Johannes Kastl <kastl@b1-systems.de> wrote:
python-ansible-compat is 4.0.2 python-ansible-compat-3 is 3.0.2
I assume you need %{ansible_python}-ansible-compat-3 because this is the package that has version 3.
The package content is the same as python-ansible-compat, just an older version. So the package name is "python-ansible-compat", not "...-3". Using "...-3" in the BuildRequires does not work.
nothing provides python3-ansible-compat-3 = 3.0.2
It really sounds like OBS only looks for the latest package version when checking build dependencies. Renaming the package may help with build, I am not sure about run-time dependencies though. What is the expected result at runtime? Can you install version 3 and version 4 in parallel?
Should I properly rename the old package? I'll have a look how that is done with other packages...
Kind Regards, Johannes
-- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de
B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537