Only include some of the test blueprints

This commit is contained in:
Brian C. Lane 2018-06-27 09:11:26 -07:00
parent c01e1e0486
commit 5a7b30699b
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
# Install example blueprints from the test suite.
# This path MUST match the lorax-composer.service blueprint path.
mkdir -p $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/
cp ./tests/pylorax/blueprints/*toml $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/
for bp in http-server.toml glusterfs.toml development.toml atlas.toml; do
cp ./tests/pylorax/blueprints/$bp $RPM_BUILD_ROOT/var/lib/lorax/composer/blueprints/
done
# Do Not Package the lorax files
rm -f $RPM_BUILD_ROOT/%{python_sitelib}/lorax-*.egg-info