From 5ff65f6134a1ac86f5b3a94eee1e5ed79c305324 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Oct 28 2008 00:36:31 +0000 Subject: - Default to "Solar" instead of "Spinfinity" --- diff --git a/plymouth.spec b/plymouth.spec index 4250f99..9998d71 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -5,7 +5,7 @@ Summary: Plymouth Graphical Boot Animation and Logger Name: plymouth Version: 0.6.0 -Release: 0.2008.10.27.2%{?dist} +Release: 0.2008.10.27.3%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2 @@ -118,7 +118,6 @@ Requires: %{name}-libs = %{version}-%{release} Requires: plymouth-plugin-label BuildRequires: libpng-devel Requires(post): %{_sbindir}/plymouth-set-default-plugin -Provides: system-plymouth-plugin = %{version}-%{release} %description plugin-spinfinity This package contains the "Spinfinity" boot splash plugin for @@ -132,6 +131,7 @@ Requires: %{name}-libs = %{version}-%{release} Requires: plymouth-plugin-label Requires(post): %{_sbindir}/plymouth-set-default-plugin BuildRequires: libpng-devel +Provides: system-plymouth-plugin = %{version}-%{release} %description plugin-solar This package contains the "Solar" boot splash plugin for @@ -186,15 +186,10 @@ fi %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig -%post plugin-spinfinity -if [ $1 -eq 1 ]; then - %{_sbindir}/plymouth-set-default-plugin spinfinity -fi - %postun plugin-spinfinity if [ $1 -eq 0 ]; then if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "spinfinity" ]; then - %{_sbindir}/plymouth-set-default-plugin text + %{_sbindir}/plymouth-set-default-plugin --reset fi fi @@ -205,10 +200,15 @@ if [ $1 -eq 0 ]; then fi fi +%post plugin-solar +if [ $1 -eq 1 ]; then + %{_sbindir}/plymouth-set-default-plugin solar +fi + %postun plugin-solar if [ $1 -eq 0 ]; then if [ "$(%{_sbindir}/plymouth-set-default-plugin)" == "solar" ]; then - %{_sbindir}/plymouth-set-default-plugin --reset + %{_sbindir}/plymouth-set-default-plugin text fi fi @@ -298,6 +298,9 @@ fi %defattr(-, root, root) %changelog +* Mon Oct 27 2008 Ray Strode 0.6.0-0.2008.10.27.3 +- Default to "Solar" instead of "Spinfinity" + * Mon Oct 27 2008 Ray Strode 0.6.0-0.2008.10.27.2 - Don't set plymouth default plugin to text in %%post