renderspec¶
renderspec is a python program to render RPM spec file templates to a usable spec file. Distribution specifics like different policies for package naming in openSUSE or Fedora are handled.
Contents:
- Installation
 - Handling templates
 - Template features
- context function py2name
 - context function py2pkg
 - context function py2
 - context function py3
 - context function epoch
 - context function license
 - context function upstream_version
 - context function py2rpmversion
 - context function py2rpmrelease
 - context function fetch_source
 - context function url_pypi
 - context filter basename
 - distribution specific blocks & child templates
 
 - Available context variables
 
Testing¶
renderspec has currently a couple of unittests. The preferred way to run tests
is using tox. To run the testsuite for python 2.7, do:
tox -epy27
Contributing¶
Code is hosted at opendev.org. Submit bugs to the renderspec project on Launchpad. Submit code to the openstack/renderspec project using Gerrit.