Overview
5+%if 0%{?sle_version} && !0%{?is_opensuse} 6+ %define distribution SUSE-Edition 7+%else 8+ %define distribution openSUSE-Edition 9+%endif
you could easier change that to:
%if 0%{?is_opensuse} %define distribution openSUSE-Edition %else %define distribution SUSE-Edition %endif
i.e. Leap and TW both have is_opensuse defined; except: since Leap 15.3, this does not longer do what you expect, as Leap and SLE shared binaries (not sources, so the build flag has no impact)
Request History
hillwood created request
(forwarded request 885978 from hillwood)
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar_suse added as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:31"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:adi:31"
dimstar accepted review
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:adi:31 got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:adi:31 got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:adi:31 got accepted.