rpm-packaging/tools
Thomas Bechtold ccdae17907 Allow lint runs for a single spec
Currently, a "tox -e lint" run takes a lot of time. But when
developing locally and changing a single spec template, this is
annoying.
So allow a second positional argument for the 3 tools from the tools/
directory which is a string used by the "-name" argument from
"find". With that, it is possible to call lint for a single spec
template with eg:

tox -elint python-cliff

Change-Id: I1ba05ed4e353728d251105fc7ad356d759813481
2019-04-10 13:36:09 +02:00
..
README.rst Tooling: set default behaviour 2016-07-07 20:43:40 +02:00
run_renderspec.sh Allow lint runs for a single spec 2019-04-10 13:36:09 +02:00
run_specchecks.sh Allow lint runs for a single spec 2019-04-10 13:36:09 +02:00
run_speccleaner.sh Allow lint runs for a single spec 2019-04-10 13:36:09 +02:00

RPM Packaging for OpenStack internal tooling README

This directory provides useful tooling for contributors to the RPM Packaging project.

tools/run_renderspec.sh

This tool can be used to generate usable spec files for all supported RPM distributions from shipped templates. It will browse recursively the directory passed in argument to find spec templates. If no directory is given, it will search in current directory.

Usage:

tools/run_renderspec.sh <path>

tools/run_speccleaner.sh

This tool can be used to run spec-cleaner on generated spec files. It will browse recursively the directory passed in argument and will display as an unified diff, differences to our standards. If no directory is given, it will search in current directory.

Usage:

tools/run_speccleaner.sh <path>