File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib}
30
30
%{__mkdir} -p %{buildroot }/%{_sysconfdir }/logrotate.d
31
31
%{__mkdir} -p %{buildroot }/%{_datarootdir }/%{name }
32
32
33
- %{__install} -m 0600 -o mamonsu -g mamonsu - p packaging/conf/example_linux.conf %{buildroot }/%{_sysconfdir }/%{name }/agent.conf
33
+ %{__install} -m 0600 -p packaging/conf/example_linux.conf %{buildroot }/%{_sysconfdir }/%{name }/agent.conf
34
34
%{__install} -m 0644 -p packaging/conf/template_linux.xml %{buildroot }/%{_datarootdir }/%{name }/template.xml
35
35
%{__install} -m 0644 -p examples/*.py %{buildroot }/%{_datarootdir }/%{name }/
36
36
%{__install} -m 0755 -p %{SOURCE1 } %{buildroot }/%{_sysconfdir }/init.d/%{name }
@@ -39,6 +39,7 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib}
39
39
%files
40
40
%doc README.md
41
41
%config(noreplace) %{_sysconfdir }/%{name }/agent.conf
42
+ chown mamonsu.mamonsu %{buildroot }/%{_sysconfdir }/%{name }/agent.conf
42
43
%{python3_sitelib }/%{name }/
43
44
%{python3_sitelib }/%{name }-%{version }*
44
45
%{_sysconfdir }/%{name }
You can’t perform that action at this time.
0 commit comments