- Update to new snapshot that renames plugins to fix upgrades somewhat (bug

499940)
This commit is contained in:
Ray Strode 2009-05-14 21:04:38 +00:00
parent 169673671e
commit 49212c73c1
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
echo "plymouth-set-default-plugin has been deprecated by plymouth-set-default-theme"

View File

@ -5,12 +5,13 @@
Summary: Graphical Boot Animation and Logger Summary: Graphical Boot Animation and Logger
Name: plymouth Name: plymouth
Version: 0.7.0 Version: 0.7.0
Release: 0.2009.05.14.1%{?dist} Release: 0.2009.05.14.2%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
Source1: boot-duration Source1: boot-duration
Source2: charge.plymouth Source2: charge.plymouth
Source3: plymouth-set-default-plugin
URL: http://freedesktop.org/software/plymouth/releases URL: http://freedesktop.org/software/plymouth/releases
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -171,6 +172,8 @@ Requires: %{name}-plugin-space-flares = %{version}-%{release}
Requires(post): %{_sbindir}/plymouth-set-default-theme Requires(post): %{_sbindir}/plymouth-set-default-theme
Obsoletes: plymouth-plugin-solar <= 0.7.0-0.2009.05.08.2 Obsoletes: plymouth-plugin-solar <= 0.7.0-0.2009.05.08.2
Provides: plymouth-plugin-solar = 0.7.0-0.2009.05.08.2 Provides: plymouth-plugin-solar = 0.7.0-0.2009.05.08.2
# We require this to fix upgrades (see bug 499940).
Requires: plymouth-system-theme
%description theme-solar %description theme-solar
This package contains the "Solar" boot splash theme for This package contains the "Solar" boot splash theme for
@ -244,6 +247,10 @@ cp $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow/{box,bullet,entry,lock}.png $
# Drop glow, it's not very Fedora-y # Drop glow, it's not very Fedora-y
rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow
# Add compat script for upgrades
cp $RPM_SOURCE_DIR/plymouth-set-default-plugin $RPM_BUILD_ROOT%{_sbindir}
chmod +x $RPM_BUILD_ROOT%{_sbindir}/plymouth-set-default-plugin
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -336,6 +343,7 @@ fi
%files scripts %files scripts
%defattr(-, root, root) %defattr(-, root, root)
%{_sbindir}/plymouth-set-default-theme %{_sbindir}/plymouth-set-default-theme
%{_sbindir}/plymouth-set-default-plugin
%{_libexecdir}/plymouth/plymouth-update-initrd %{_libexecdir}/plymouth/plymouth-update-initrd
%{_libexecdir}/plymouth/plymouth-populate-initrd %{_libexecdir}/plymouth/plymouth-populate-initrd