SPECS (AC-branch): gdm.spec - rel 2, rebuild with updated macros

glen glen at pld-linux.org
Fri Apr 14 17:01:38 CEST 2006


Author: glen                         Date: Fri Apr 14 15:01:38 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- rel 2, rebuild with updated macros

---- Files affected:
SPECS:
   gdm.spec (1.170 -> 1.170.2.1) 

---- Diffs:

================================================================
Index: SPECS/gdm.spec
diff -u SPECS/gdm.spec:1.170 SPECS/gdm.spec:1.170.2.1
--- SPECS/gdm.spec:1.170	Tue Nov 15 23:02:58 2005
+++ SPECS/gdm.spec	Fri Apr 14 17:01:33 2006
@@ -16,7 +16,7 @@
 Summary(uk):	äÉÓĐĚĹĘÎÉĘ ÍĹÎĹÄÖĹŇ GNOME
 Name:		gdm
 Version:	2.8.0.6
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL/LGPL
 Group:		X11/Applications
@@ -54,7 +54,7 @@
 BuildRequires:	libxml2-devel >= 2.5.11
 BuildRequires:	pam-devel
 BuildRequires:	perl-modules
-BuildRequires:	rpmbuild(macros) >= 1.231
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(pre):	/bin/id
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
@@ -205,7 +205,7 @@
 
 %pre
 %groupadd -g 55 -r -f xdm
-%useradd -u 55 -r -d /home/services/xdm -s /bin/false -c 'X Display Manager' -g xdm xdm
+%useradd -u 55 -r -d /home/services/xdm -s /bin/false -c "X Display Manager" -g xdm xdm
 
 %post
 %scrollkeeper_update_post
@@ -220,17 +220,15 @@
 %post init
 /sbin/chkconfig --add gdm
 if [ -f /var/lock/subsys/gdm ]; then
-        echo "Run \"service gdm restart\" to restart gdm." >&2
-        echo "WARNING: it will terminate all sessions opened from gdm!" >&2
+	echo "Run \"/sbin/service gdm restart\" to restart gdm." >&2
+	echo "WARNING: it will terminate all sessions opened from gdm!" >&2
 else
-        echo "Run \"service gdm start\" to start gdm." >&2
+	echo "Run \"/sbin/service gdm start\" to start gdm." >&2
 fi
 
 %preun init
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/gdm ]; then
-		/etc/rc.d/init.d/gdm stop >&2
-	fi
+	%service gdm stop
 	/sbin/chkconfig --del gdm
 fi
 
@@ -295,6 +293,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.170.2.1  2006/04/14 15:01:33  glen
+- rel 2, rebuild with updated macros
+
 Revision 1.170  2005/11/15 22:02:58  freetz
 - 2.8.0.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gdm.spec?r1=1.170&r2=1.170.2.1&f=u



More information about the pld-cvs-commit mailing list