Accepting request 893148 from home:dimstar:Factory

- Do not own /usr/share/locale (owned by filesystem):
  + Split out -lang package
  + Use find_lang macro to create file list for -lang package

OBS-URL: https://build.opensuse.org/request/show/893148
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=301
This commit is contained in:
Dirk Mueller 2021-05-15 19:18:36 +00:00 committed by Git OBS Bridge
parent ad792d968a
commit 365b14c75a
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri May 14 14:19:22 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not own /usr/share/locale (owned by filesystem):
+ Split out -lang package
+ Use find_lang macro to create file list for -lang package
-------------------------------------------------------------------
Wed Feb 24 08:25:42 UTC 2021 - Cliff Zhao <qzhao@suse.com>

View File

@ -86,7 +86,7 @@ Requires: %{name}-branding
Requires: systemd >= 186
Requires(post): coreutils
Requires(post): plymouth-scripts = %{version}
Requires(postun): coreutils
Requires(postun):coreutils
Suggests: plymouth-plugin-label
Provides: bootsplash = 3.5
Obsoletes: bootsplash < 3.5
@ -98,6 +98,7 @@ Plymouth provides an attractive graphical boot animation in
place of the text messages that normally get shown. Text
messages are instead redirected to a log file for viewing
after boot.
%lang_package
%package -n libply-boot-client%{soversion}
Summary: Plymouth core library
@ -416,6 +417,8 @@ cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_localstatedir}/lib/plymouth
rm -f %{buildroot}%{_sysconfdir}/plymouth/plymouthd.conf
rm -f %{buildroot}%{_datadir}/plymouth/plymouthd.conf
%find_lang %{name}
%post
%{?regenerate_initrd_post}
if [ ! -e /.buildenv ]; then
@ -551,7 +554,8 @@ fi
%ghost %{_localstatedir}/lib/plymouth/boot-duration
%{_unitdir}/*
%ghost %{_localstatedir}/log/boot.log
/usr/share/locale/
%files lang -f %{name}.lang
%files branding-upstream
%{_datadir}/plymouth/plymouthd.defaults