Overview
Request 1042746 superseded
- avoid file conflict on SLE15 and other older distributions
- Created by dirkmueller
- In state superseded
- Superseded by 1043106
- Open review for factory-staging
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 declined request
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`
dirkmueller superseded request
superseded by 1043106
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