Skip to content

Commit

Permalink
obs_build_config: refrain from nesting screen inside para
Browse files Browse the repository at this point in the history
Nesting screen inside para is a violation of the reigning XML schema
and, as of a recent change, now causes the CI build to fail.

Signed-off-by: Nathan Cutler <[email protected]>
  • Loading branch information
smithfarm committed Jul 3, 2024
1 parent 3b6d189 commit fe3435d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions xml/obs_build_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -973,18 +973,20 @@ Support: pax debbuild</screen>
<para>
An alternative way to enable caching based on build dependencies is to
add "--enable-cache" as dependency, for example via a Substitute rule:
<screen><command>
Substitute: gcc-c++ gcc-c++ --enable-ccache
</command></screen>
</para>
<screen><command>
Substitute: gcc-c++ gcc-c++ --enable-ccache
</command></screen>
<para>
This will always enable ccache when a direct build depdency to gcc-c++
is required.
</para>
<para>
It is also possible to set the type, eg:
<screen><command>
Substitute: cargo cargo --enable-ccache=sccache
</command></screen>
</para>
<screen><command>
Substitute: cargo cargo --enable-ccache=sccache
</command></screen>
</sect1>

<sect1 xml:id="sec.prjconfig.macros">
Expand Down

0 comments on commit fe3435d

Please sign in to comment.