Thomas Bechtold 5f46f91121 Support package versions from global requirements file
renderspec can now get a global-requirements.txt file to insert
versions into rendered spec files.
Example:

renderspec --requirements global-requirements.txt example.spec.j2

If a version is explicitly given via the py2pkg() method,
this version is used. If no version is given, renderspec tries
to find a version from the global-requirements.txt file.

Also update the documentation and for the new feature and simplify
the unittest by using ddt.

Change-Id: Ic0058f8aa9c6a1e7250e0e08f262bb3e2663d68b
2016-03-09 16:22:17 +01:00
2015-10-02 07:54:18 +00:00
2015-10-05 08:40:44 +02:00
2015-10-05 08:40:44 +02:00
2016-02-23 08:43:07 -08:00

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.

For more information about the OpenStack rpm packaging initiative, please follow the link to the wiki page:

https://wiki.openstack.org/wiki/Rpm-packaging

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:

https://bugs.launchpad.net/renderspec

Developers wishing to work on renderspec should always base their work on the latest code, available from the master GIT repository at:

https://git.openstack.org/cgit/openstack/renderspec

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

Description
RPM .spec template renderer
Readme 1 MiB
Languages
Python 99.3%
Jinja 0.7%