SPECS: dbus.spec - 0.92, moved configuration to /etc/sysconfig/mes...
freetz
freetz at pld-linux.org
Sat Aug 19 00:22:01 CEST 2006
Author: freetz Date: Fri Aug 18 22:22:01 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 0.92, moved configuration to /etc/sysconfig/messagebus (to make use of
%service macro), triggerpostun added
---- Files affected:
SPECS:
dbus.spec (1.138 -> 1.139)
---- Diffs:
================================================================
Index: SPECS/dbus.spec
diff -u SPECS/dbus.spec:1.138 SPECS/dbus.spec:1.139
--- SPECS/dbus.spec:1.138 Thu Aug 10 16:42:30 2006
+++ SPECS/dbus.spec Sat Aug 19 00:21:56 2006
@@ -5,12 +5,12 @@
Summary: D-BUS message bus
Summary(pl): Magistrala przesyłania komunikatów D-BUS
Name: dbus
-Version: 0.91
+Version: 0.92
Release: 1
License: AFL v2.1 or GPL v2
Group: Libraries
Source0: http://dbus.freedesktop.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 3f641bf73bcc538d3871622799ce2cd0
+# Source0-md5: ea2be58c80a80631ba5b3c92cffd335c
Source1: messagebus.init
Source2: %{name}-daemon-1-profile.d-sh
Source3: %{name}-sysconfig
@@ -127,7 +127,7 @@
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/messagebus
install %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/dbus-daemon-1.sh
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/dbus
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/messagebus
install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d
%clean
@@ -156,6 +156,16 @@
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
+%triggerpostun -- %{name} < 0.92
+%banner %{name} << EOF
+WARNING!!!
+configuration file /etc/sysconfig/dbus has been moved to /etc/sysconfig/messagebus!
+EOF
+
+if [ -f /etc/sysconfig/dbus ]; then
+ mv /etc/sysconfig/dbus /etc/sysconfig/messagebus
+fi
+
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/dbus-cleanup-sockets
@@ -166,7 +176,7 @@
%attr(755,root,root) %{_bindir}/dbus-send
%dir %{_sysconfdir}/dbus-1
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/*.conf
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dbus
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/messagebus
%attr(754,root,root) /etc/rc.d/init.d/*
%attr(755,root,root) /etc/profile.d/dbus-daemon-1.sh
%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
@@ -206,6 +216,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.139 2006/08/18 22:21:56 freetz
+- 0.92, moved configuration to /etc/sysconfig/messagebus (to make use of
+ %service macro), triggerpostun added
+
Revision 1.138 2006/08/10 14:42:30 qboosh
- reordered preambles
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dbus.spec?r1=1.138&r2=1.139&f=u
More information about the pld-cvs-commit
mailing list