From 33f7124ca718d391b893ce5fd2c873dc5eab8049 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 22 Nov 2017 16:37:00 -0800 Subject: [PATCH] Fix wrong name for /etc/composer.conf --- lorax.spec | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lorax.spec b/lorax.spec index 240c0a9d..dd7d3077 100644 --- a/lorax.spec +++ b/lorax.spec @@ -135,6 +135,7 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install %{_mandir}/man1/*.1* %files composer +%config(noreplace) %{_sysconfdir}/lorax/composer.conf %{python_sitelib}/pylorax/api/* %{_sbindir}/lorax-composer %{_unitdir}/lorax-composer.service diff --git a/setup.py b/setup.py index 8a5ffa77..4ef4d666 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import sys # config file data_files = [("/etc/lorax", ["etc/lorax.conf"]), - ("/etc/lorax", ["etc/configure.conf"]), + ("/etc/lorax", ["etc/composer.conf"]), ("/usr/lib/systemd/system", ["systemd/lorax-composer.service"])] # shared files