Accepting request 985746 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/985746
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=329
This commit is contained in:
Cliff Zhao 2022-07-04 06:57:54 +00:00 committed by Git OBS Bridge
parent 7b9b0a088c
commit ab4746cd63
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 29 08:52:34 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 May 15 15:58:33 UTC 2022 - Cliff Zhao <qzhao@suse.com>

View File

@ -405,6 +405,13 @@ rm -rf %{buildroot}%{_datadir}/plymouth/themes/glow/
rm -f %{buildroot}%{_sysconfdir}/plymouth/plymouthd.conf
rm -f %{buildroot}%{_datadir}/plymouth/plymouthd.conf
# Move logrotate files from user specific directory /etc/logrotate.d
# to vendor specific directory /usr/etc/logrotate.d.
%if 0%{?suse_version} > 1500
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
mv %{buildroot}%{_sysconfdir}/logrotate.d/bootlog %{buildroot}%{_distconfdir}/logrotate.d/bootlog
%endif
%find_lang %{name}
%post
@ -517,7 +524,11 @@ fi
%dir %{_sharedstatedir}/plymouth
%dir %{_libdir}/plymouth
%dir %{_libdir}/plymouth/renderers
%if 0%{?suse_version} > 1500
%{_distconfdir}/logrotate.d/bootlog
%else
%{_sysconfdir}/logrotate.d/bootlog
%endif
%{_bindir}/plymouth
%{_sbindir}/plymouthd
%{_libdir}/plymouth/details.so