6.21. replaceable

To create replaceable text, use the tags <replaceable> and </replaceable> around the text you want to use as a variable.

This example demonstrates how to use the replaceable tags when referencing the name of an RPM file:

foo-<replaceable>version-number</replaceable>.<replaceable>arch</replaceable>.rpm

The output:

foo-version-number.arch.rpm