Revision e4d1c2ae
Added by Adam Ruzicka about 7 years ago
rubygem-smart_proxy_dynflow_core/rubygem-smart_proxy_dynflow_core.spec | ||
---|---|---|
|
||
#copy init scripts, sysconfigs and logrotate config
|
||
install -Dp -m0644 %{buildroot}%{gem_instdir}/deploy/%{service_name}.service %{buildroot}%{_unitdir}/%{service_name}.service
|
||
install -Dp -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||
install -Dp -m0644 %{SOURCE1} %{buildroot}%{root_sysconfdir}/logrotate.d/%{name}
|
||
|
||
%post
|
||
%systemd_post %{service_name}.service
|
||
... | ... | |
%{root_sysconfdir}/%{gem_name}/settings.yml
|
||
%doc %{gem_instdir}/LICENSE
|
||
%{root_bindir}/%{service_name}
|
||
%config %{_sysconfdir}/logrotate.d/%{name}
|
||
%config %{root_sysconfdir}/logrotate.d/%{name}
|
||
%{_unitdir}/%{service_name}.service
|
||
|
||
%exclude %{gem_instdir}/deploy
|
Also available in: Unified diff
Fixes #19521 - Use correct sysconfdir macro