SPECS: splashutils.spec - trigger for config

glen glen at pld-linux.org
Wed Apr 16 12:40:24 CEST 2008


Author: glen                         Date: Wed Apr 16 10:40:24 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- trigger for config

---- Files affected:
SPECS:
   splashutils.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/splashutils.spec
diff -u SPECS/splashutils.spec:1.31 SPECS/splashutils.spec:1.32
--- SPECS/splashutils.spec:1.31	Wed Apr 16 12:34:35 2008
+++ SPECS/splashutils.spec	Wed Apr 16 12:40:18 2008
@@ -4,12 +4,11 @@
 # Conditional build:
 %bcond_with	verbose		# verbose build (V=1)
 %bcond_with	initrd	# build klibc static initrd binaries
-%define		misc_ver	0.1.5
 Summary:	Utilities for setting splash
 Summary(pl.UTF-8):	Narzędzia do ustawiania splash
 Name:		splashutils
 Version:	1.5.4
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications/System
 Source0:	http://dev.gentoo.org/~spock/projects/splashutils/archive/%{name}-%{version}.tar.bz2
@@ -147,6 +146,13 @@
 	/sbin/chkconfig --del splash
 fi
 
+%triggerpostun -- %{name} < 1.5.4-0.2
+# migrate from apache-config macros
+if [ -f /etc/sysconfig/fbsplash.rpmsave ]; then
+	cp -f /etc/sysconfig/splash,{.rpmnew}
+	mv -f /etc/sysconfig/{fbsplash.rpmsave,splash}
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README docs/[!M]*
@@ -194,6 +200,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2008-04-16 10:40:18  glen
+- trigger for config
+
 Revision 1.31  2008-04-16 10:34:35  glen
 - build non-klibc-static parts for system
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/splashutils.spec?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list