From 053eb274632a9144e5d3c037321529bb74dd1a49 Mon Sep 17 00:00:00 2001 From: boesr <88541074+boesr@users.noreply.github.com> Date: Tue, 10 Feb 2026 13:42:36 +0100 Subject: [PATCH] fixes rpm config paths (#190) --- scripts/cc-metric-collector.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/cc-metric-collector.spec b/scripts/cc-metric-collector.spec index 6a5e219..761d828 100644 --- a/scripts/cc-metric-collector.spec +++ b/scripts/cc-metric-collector.spec @@ -30,11 +30,11 @@ make %install install -Dpm 0750 %{name} %{buildroot}%{_bindir}/%{name} -install -Dpm 0600 config.json %{buildroot}%{_sysconfdir}/%{name}/%{name}.json -install -Dpm 0600 collectors.json %{buildroot}%{_sysconfdir}/%{name}/collectors.json -install -Dpm 0600 sinks.json %{buildroot}%{_sysconfdir}/%{name}/sinks.json -install -Dpm 0600 receivers.json %{buildroot}%{_sysconfdir}/%{name}/receivers.json -install -Dpm 0600 router.json %{buildroot}%{_sysconfdir}/%{name}/router.json +install -Dpm 0600 example-configs/config.json %{buildroot}%{_sysconfdir}/%{name}/%{name}.json +install -Dpm 0600 example-configs/collectors.json %{buildroot}%{_sysconfdir}/%{name}/collectors.json +install -Dpm 0600 example-configs/sinks.json %{buildroot}%{_sysconfdir}/%{name}/sinks.json +install -Dpm 0600 example-configs/receivers.json %{buildroot}%{_sysconfdir}/%{name}/receivers.json +install -Dpm 0600 example-configs/router.json %{buildroot}%{_sysconfdir}/%{name}/router.json install -Dpm 0644 scripts/%{name}.service %{buildroot}%{_unitdir}/%{name}.service install -Dpm 0600 scripts/%{name}.config %{buildroot}%{_sysconfdir}/default/%{name} install -Dpm 0644 scripts/%{name}.sysusers %{buildroot}%{_sysusersdir}/%{name}.conf