forked from pool/redis
Accepting request 985767 from home:schubi2
- Moved logrotate files from user specific directory /etc/logrotate.d to vendor specific directory /usr/etc/logrotate.d. OBS-URL: https://build.opensuse.org/request/show/985767 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=197
This commit is contained in:
parent
fd18857a95
commit
0a57623dd0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 29 10:54:08 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||
|
||||
- Moved logrotate files from user specific directory /etc/logrotate.d
|
||||
to vendor specific directory /usr/etc/logrotate.d.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 12 16:30:32 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
@ -104,7 +104,12 @@ install -Dpm0660 sentinel.conf %{buildroot}%{_conf_dir}/sentinel.conf.e
|
||||
|
||||
# some sysctl stuff
|
||||
install -Dpm0644 %{SOURCE6} %{buildroot}/%{_prefix}/lib/sysctl.d/00-%{name}.conf
|
||||
%if 0%{?suse_version} > 1500
|
||||
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
|
||||
install -Dpm0644 %{SOURCE1} %{buildroot}%{_distconfdir}/logrotate.d/%{name}
|
||||
%else
|
||||
install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||
%endif
|
||||
install -Dpm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.target
|
||||
install -Dpm0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}@.service
|
||||
install -Dpm0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
@ -144,7 +149,11 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
||||
%files
|
||||
%license COPYING
|
||||
%doc 00-RELEASENOTES BUGS CONTRIBUTING README.md
|
||||
%if 0%{?suse_version} > 1500
|
||||
%{_distconfdir}/logrotate.d/%{name}
|
||||
%else
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||
%endif
|
||||
%{_prefix}/lib/sysctl.d/00-%{name}.conf
|
||||
%{_bindir}/%{name}-*
|
||||
%{_sbindir}/%{name}-*
|
||||
|
Loading…
Reference in New Issue
Block a user