Accepting request 838399 from Base:System

OBS-URL: https://build.opensuse.org/request/show/838399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plymouth?expand=0&rev=85
This commit is contained in:
Dominique Leuenberger 2020-10-03 16:55:35 +00:00 committed by Git OBS Bridge
commit be22929ffe
2 changed files with 24 additions and 16 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 28 16:32:43 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Remove gnu-unifont-bitmap-fonts runtime dependency, it is not
used anywhere.
- Remove unused kernel-headers and module-init-tools build deps.
- Make plymouth-scripts noarch, correct its runtime dependencies.
- Clean up spec file.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 29 06:13:50 UTC 2020 - Cliff Zhao <qzhao@suse.com> Sat Aug 29 06:13:50 UTC 2020 - Cliff Zhao <qzhao@suse.com>

View File

@ -32,7 +32,7 @@ Release: 0
Summary: Graphical Boot Animation and Logger Summary: Graphical Boot Animation and Logger
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/Base Group: System/Base
URL: http://www.freedesktop.org/wiki/Software/Plymouth URL: https://www.freedesktop.org/wiki/Software/Plymouth
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
Source1: boot-duration Source1: boot-duration
# PATCH-FIX-OPENSUSE plymouth-dracut-path.patch tittiatcoke@gmail.com -- Prefix is /usr/sbin and /usr/bin # PATCH-FIX-OPENSUSE plymouth-dracut-path.patch tittiatcoke@gmail.com -- Prefix is /usr/sbin and /usr/bin
@ -56,13 +56,15 @@ Patch1002: 0003-fix_null_deref.patch
BuildRequires: automake BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: gcc BuildRequires: gcc
BuildRequires: kernel-headers
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: module-init-tools
BuildRequires: pkgconfig BuildRequires: pkgconfig
%if 0%{suse_version} >= 1550
# regenerate_initrd_post moved to rpm-config-SUSE:initrd.macros
BuildRequires: rpm-config-SUSE >= 0.g11
%else
BuildRequires: suse-module-tools BuildRequires: suse-module-tools
# needed for systemd-tty-ask-password-agent %endif
BuildRequires: intltool BuildRequires: intltool
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: xz BuildRequires: xz
@ -72,13 +74,13 @@ BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libsystemd) >= 186 BuildRequires: pkgconfig(libsystemd) >= 186
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(pango) >= 1.21.0 BuildRequires: pkgconfig(pango) >= 1.21.0
# needed for systemd-tty-ask-password-agent
BuildRequires: pkgconfig(systemd) >= 186 BuildRequires: pkgconfig(systemd) >= 186
%if %{with x11_renderer} %if %{with x11_renderer}
BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0
%endif %endif
Recommends: %{name}-lang Recommends: %{name}-lang
Requires: %{name}-branding Requires: %{name}-branding
Requires: gnu-unifont-bitmap-fonts
Requires: systemd >= 186 Requires: systemd >= 186
Requires(post): coreutils Requires(post): coreutils
Requires(post): plymouth-scripts = %{version} Requires(post): plymouth-scripts = %{version}
@ -136,7 +138,7 @@ Conflicts: %{name}-branding
BuildArch: noarch BuildArch: noarch
%description branding-upstream %description branding-upstream
This package contains the /usr/share/plymouthd.defaults which contains the basic This package contains the /usr/share/plymouthd.defaults which contains the basic
settings and branding from the upstream. settings and branding from the upstream.
%package devel %package devel
@ -177,12 +179,12 @@ behavior on environments with a valid DISPLAY.
%package scripts %package scripts
Summary: Plymouth related scripts Summary: Plymouth related scripts
Group: System/Base Group: System/Base
Requires: coreutils Requires: awk
Requires: cpio
Requires: dracut Requires: dracut
Requires: findutils Requires: grep
Requires: gzip Requires: sed
Requires(pre): %{name} = %{version} Requires(pre): %{name} = %{version}
BuildArch: noarch
%description scripts %description scripts
This package contains scripts that help integrate Plymouth with This package contains scripts that help integrate Plymouth with
@ -207,7 +209,7 @@ Requires: libply-splash-graphics%{soversion} = %{version}
%description plugin-label-ft %description plugin-label-ft
This package contains the label control plugin for This package contains the label control plugin for
Plymouth. It provides the ability to render text on Plymouth. It provides the ability to render text on
graphical boot splashes using FreeTyoe graphical boot splashes using FreeType
%package plugin-fade-throbber %package plugin-fade-throbber
Summary: Plymouth "Fade-Throbber" plugin Summary: Plymouth "Fade-Throbber" plugin
@ -369,16 +371,13 @@ BuildArch: noarch
%description theme-bgrt %description theme-bgrt
This package contains the "bgrt" boot splash theme for This package contains the "bgrt" boot splash theme for
Plymouth. Plymouth.
%prep %prep
%setup -q %setup -q
%autopatch -p1 %autopatch -p1
autoreconf -ivf autoreconf -ivf
# replace builddate with patch0date
sed -i "s/__DATE__/\"$(stat -c %%y %{_sourcedir}/%{name}.changes)\"/" src/main.c
%build %build
%configure \ %configure \
--enable-systemd-integration \ --enable-systemd-integration \
@ -398,7 +397,7 @@ sed -i "s/__DATE__/\"$(stat -c %%y %{_sourcedir}/%{name}.changes)\"/" src/main.c
--with-background-end-color-stop=0x4EA65C \ --with-background-end-color-stop=0x4EA65C \
--with-background-color=0x3391cd \ --with-background-color=0x3391cd \
--without-rhgb-compat-link \ --without-rhgb-compat-link \
--without-system-root-install --without-system-root-install
make %{?_smp_mflags} make %{?_smp_mflags}