Modified the section of the spec where %cmake_kf[5/6] should be in

This commit is contained in:
Steve Cossette 2026-07-12 14:06:39 -04:00
commit 0c6ac0367a

View file

@ -22,11 +22,11 @@ BuildRequires: kf6-rpm-macros
The following macros are used in the building of KDE packages. Note that the version of macros (i.e. `%cmake_kf5` and `%cmake_kf6`) can be changed depending on which version of Plasma you are building for.
`+%cmake_kf6+`::
Not unlike `+%cmake+`, this macro defines CFLAGS, LDFLAGS, etc. and calls `+%__cmake+`
Replaces `+%cmake+`, this macro defines CFLAGS, LDFLAGS, etc. and calls `+%__cmake+`
with appropriate parameters
(`+-DCMAKE_INSTALL_PREFIX:PATH=/usr+` and such), but with additional KDE-specific flags and parameters.
You can pass `+-Doption=value+` to this macro
in order to set options for the buildsystem.
in order to set options for the buildsystem. **SHOULD** be in the `+%conf+` section of the spec file.
`+%stable_kf6+`::
Used in the package's source links, if the package is released on the official KDE download server. Outputs either `stable` or `unstable` depending on the version of the package.