Commit f1e54dd
spec: Work around a bug in ctest macro on RHEL 9
Building the RPM package on RHEL 9 failed like this:
error: /builddir/build/originals/libdnf.spec: line 238: Unknown option V in ctest(:-:)
The failure was introduced with commit
a067e64 ("spec: Consistently use CMake
RPM macros"). The cause is a bug in a defintion of the ctest macro
provided with cmake-rpm-macros-3.26.5-2.el9.noarch by RHEL 9
<https://issues.redhat.com/browse/RHEL-120543>.
This patch works around the bug by redefining the macro while accepting
any options.1 parent 771c409 commit f1e54dd
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
0 commit comments