Accepting request 985927 from server:database

OBS-URL: https://build.opensuse.org/request/show/985927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/redis?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2022-07-01 11:43:47 +00:00 committed by Git OBS Bridge
commit 8f011451b5
2 changed files with 15 additions and 0 deletions

View File

@ -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>

View File

@ -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}-*