Support jinja child templates in renderspec/dist-templates which are
automatically used with corresponding --spec-style and allow different
output for each spec style (distro) using jinja `{% block %}` syntax.
Also enable trim_blocks to keep resulting specs clean.
Change-Id: I7c082e56836f06fb98881adc4cdf63d8626f4d7b
renderspec
renderspec is a tool to convert a .spec.j2 Jinja2 template to a rpm .spec file which is usable for different distributions and follow their policies and processes.
Documentation for renderspec can be found at
For more information about the OpenStack rpm packaging initiative, please follow the link to the wiki page:
In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:
Developers wishing to work on renderspec should always base their work on the latest code, available from the master GIT repository at:
Developers should also join the discussion on the mailing list, at:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
or join the IRC channel on
http://webchat.freenode.net/?channels=openstack-rpm-packaging