Commit c255628
committed
staging:17/tarballs: percona-gis-compat — no %elif (EL8 rpm 4.14)
The RockyLinux_8 build of da1e31c failed with
"error: line 75: Unknown tag: %elif 08 == 9": %elif landed in rpm 4.15, so
EL8's rpm 4.14 cannot parse it (RockyLinux_9 built fine). Rewrite the
per-base Provides block as nested %if/%else/%endif and note why.
No functional change: rpmspec -P still yields proj = 6.3.2 / gdal-libs =
3.0.4 on EL8, proj = 9.6.0 / gdal3.4-libs = 3.4.3 on EL9, and %{error} on
any other base.
Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>1 parent da1e31c commit c255628
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
0 commit comments