Overview
Request 1043106 accepted
- avoid file conflict on SLE15 and other older distributions
- Created by dirkmueller
- In state accepted
- Supersedes 1042746
17+%if %{?suse_version} && %{suse_version} > 1500
three errors in one line:
-
%if %{?suse_version}
=> if suse_version is not defined, you get an error (invalid syntax) -
%{suse_version} > 1500
if suse_version is not defined, this is still being 'expanded' (well, not) and you get a string vs 1500 comparison -
%{?suse_version} && %{suse_version} > 1500
in what case can suse_version be > 1500 and not be defined?
What you actually wanted to use is %if 0%{?suse_version} > 1500
Request History
dirkmueller created request
- avoid file conflict on SLE15 and other older distributions
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar accepted review
dimstar_suse added openSUSE:Factory:Staging:adi:35 as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:adi:35"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:adi:35"
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:adi:35 got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:adi:35 got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:adi:35 got accepted.