Overview

Request 971359 accepted

Please add yq to openSUSE Leap 15.4 / SLE 15 SP4 Package Hub, supersedes old request

Loading...

Yuchen Lin's avatar

Conflicting with python-yq

found conflict of python3-yq-2.10.0-bp154.1.4.noarch with yq-4.18.1-bp154.2.1.x86_64
  /usr/bin/yq

Robert Munteanu's avatar

We have this conflicts tag : Conflicts: python3dist(yq). I am not sure why this is not working for Leap 15.4 . If anyone cares to submit a fix to the devel project I'd be happy to review and incorporate it.


Max Lin's avatar

Unfortunately Backports reuses the same policy/binary from SLE, therefore pythondistdeps hasn't supported, IOW python%{dist_ver}dist() tag hasn't generated, see https://build.opensuse.org/package/binary/openSUSE:Backports:SLE-15-SP4/python-yq/standard/x86_64/python3-yq-2.10.0-bp154.1.4.noarch.rpm

You need to use a explicit Conflicts: python3-yq for Leap/Backports or SLE here since python3dist() can not expanded.


Robert Munteanu's avatar

Do you think it's better to make this Conflict conditional on sle_version == 150400 or should I just add it for all distros?


Max Lin's avatar

I would use something like:

%if 0%{?suse_version} >= 1550
Conflicts:      python3dist(yq)
%else
Conflicts:      python3-yq
%endif

or just add:

%if 0%{?suse_version} < 1550
Conflicts:      python3-yq
%endif

Request History
Yuchen Lin's avatar

maxlin_factory created request

Please add yq to openSUSE Leap 15.4 / SLE 15 SP4 Package Hub, supersedes old request


Yuchen Lin's avatar

maxlin_factory added as a reviewer

Being evaluated by staging project "openSUSE:Backports:SLE-15-SP4:Staging:adi:6"


Yuchen Lin's avatar

maxlin_factory accepted review

Picked "openSUSE:Backports:SLE-15-SP4:Staging:adi:6"


Saul Goodman's avatar

licensedigger accepted review

ok


Yuchen Lin's avatar

maxlin_factory accepted review

Staging Project openSUSE:Backports:SLE-15-SP4:Staging:adi:6 got accepted.


Yuchen Lin's avatar

maxlin_factory approved review

Staging Project openSUSE:Backports:SLE-15-SP4:Staging:adi:6 got accepted.


Yuchen Lin's avatar

maxlin_factory accepted request

Staging Project openSUSE:Backports:SLE-15-SP4:Staging:adi:6 got accepted.

openSUSE Build Service is sponsored by