Overview
Request 971359 accepted
Please add yq to openSUSE Leap 15.4 / SLE 15 SP4 Package Hub, supersedes old request
- Created by maxlin_factory
- In state accepted
- Supersedes 963757
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
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.
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.
Do you think it's better to make this Conflict conditional on sle_version == 150400 or should I just add it for all distros?
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
Thanks for the hints. Submitted to Factory in https://build.opensuse.org/request/show/970143
Request History
maxlin_factory created request
Please add yq to openSUSE Leap 15.4 / SLE 15 SP4 Package Hub, supersedes old request
maxlin_factory added as a reviewer
Being evaluated by staging project "openSUSE:Backports:SLE-15-SP4:Staging:adi:6"
maxlin_factory accepted review
Picked "openSUSE:Backports:SLE-15-SP4:Staging:adi:6"
licensedigger accepted review
ok
maxlin_factory accepted review
Staging Project openSUSE:Backports:SLE-15-SP4:Staging:adi:6 got accepted.
maxlin_factory approved review
Staging Project openSUSE:Backports:SLE-15-SP4:Staging:adi:6 got accepted.
maxlin_factory accepted request
Staging Project openSUSE:Backports:SLE-15-SP4:Staging:adi:6 got accepted.