SHA256
1
0
forked from pool/plymouth

Accepting request 893332 from Base:System

OBS-URL: https://build.opensuse.org/request/show/893332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plymouth?expand=0&rev=94
This commit is contained in:
Dominique Leuenberger 2021-05-20 17:23:04 +00:00 committed by Git OBS Bridge
commit 24f13b8811
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> 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: systemd >= 186
Requires(post): coreutils Requires(post): coreutils
Requires(post): plymouth-scripts = %{version} Requires(post): plymouth-scripts = %{version}
Requires(postun): coreutils Requires(postun):coreutils
Suggests: plymouth-plugin-label Suggests: plymouth-plugin-label
Provides: bootsplash = 3.5 Provides: bootsplash = 3.5
Obsoletes: 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 place of the text messages that normally get shown. Text
messages are instead redirected to a log file for viewing messages are instead redirected to a log file for viewing
after boot. after boot.
%lang_package
%package -n libply-boot-client%{soversion} %package -n libply-boot-client%{soversion}
Summary: Plymouth core library 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}%{_sysconfdir}/plymouth/plymouthd.conf
rm -f %{buildroot}%{_datadir}/plymouth/plymouthd.conf rm -f %{buildroot}%{_datadir}/plymouth/plymouthd.conf
%find_lang %{name}
%post %post
%{?regenerate_initrd_post} %{?regenerate_initrd_post}
if [ ! -e /.buildenv ]; then if [ ! -e /.buildenv ]; then
@ -551,7 +554,8 @@ fi
%ghost %{_localstatedir}/lib/plymouth/boot-duration %ghost %{_localstatedir}/lib/plymouth/boot-duration
%{_unitdir}/* %{_unitdir}/*
%ghost %{_localstatedir}/log/boot.log %ghost %{_localstatedir}/log/boot.log
/usr/share/locale/
%files lang -f %{name}.lang
%files branding-upstream %files branding-upstream
%{_datadir}/plymouth/plymouthd.defaults %{_datadir}/plymouth/plymouthd.defaults