From 792bf67ac7f6a7c1aa1c726c846d3c0bc644fbe7 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 21 Aug 2018 12:30:05 -0700 Subject: [PATCH] Only include specific blueprints in the rpm Related: rhbz#1613058 --- lorax.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lorax.spec b/lorax.spec index 530d8b5f..427ce4c3 100644 --- a/lorax.spec +++ b/lorax.spec @@ -168,7 +168,9 @@ make DESTDIR=%{buildroot} mandir=%{_mandir} install # Install example blueprints from the test suite. # This path MUST match the lorax-composer.service blueprint path. mkdir -p %{buildroot}/var/lib/lorax/composer/blueprints/ -cp ./tests/pylorax/blueprints/*toml %{buildroot}/var/lib/lorax/composer/blueprints/ +for bp in http-server.toml development.toml atlas.toml; do + cp ./tests/pylorax/blueprints/$bp %{buildroot}/var/lib/lorax/composer/blueprints/ +done %pre composer getent group weldr >/dev/null 2>&1 || groupadd -r weldr >/dev/null 2>&1 || :