Commit a9ec5ac
committed
Replace sle_version with suse_version in openQA spec file
As per
https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros
this commit substitutes sle_version to suse_version macro because the
sle_version does not exist in versions with code 16 like Leap
16.0. `suse_version` seems to provide backwards compatibility with Code 15 so
it is as simple as that. Alternative it would have to check whether
sle_version is not defined and adjust the conditions.
https://progress.opensuse.org/issues/1822281 parent 6deeb26 commit a9ec5ac
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments