packages: pacemaker/pacemaker.spec - provide haclient/hacluser gid/uid

jajcus jajcus at pld-linux.org
Tue May 12 12:14:22 CEST 2009


Author: jajcus                       Date: Tue May 12 10:14:22 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- provide haclient/hacluser gid/uid

---- Files affected:
packages/pacemaker:
   pacemaker.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/pacemaker/pacemaker.spec
diff -u packages/pacemaker/pacemaker.spec:1.1 packages/pacemaker/pacemaker.spec:1.2
--- packages/pacemaker/pacemaker.spec:1.1	Mon May 11 15:19:02 2009
+++ packages/pacemaker/pacemaker.spec	Tue May 12 12:14:16 2009
@@ -33,6 +33,8 @@
 BuildRequires:	swig
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	hearbeat
+Provides:	group(haclient)
+Provides:	user(hacluster)
 Conflicts:	heartbeat < 2.99.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -105,6 +107,10 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%pre
+%groupadd -g 60 haclient
+%useradd -u 17 -d /var/lib/heartbeat/cores/hacluster -c "Heartbeat User" -g haclient hacluster
+
 %files
 %defattr(644,root,root,755)
 %doc doc/README* doc/*.html doc/*.txt doc/AUTHORS doc/Design
@@ -159,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/05/12 10:14:16  jajcus
+- provide haclient/hacluser gid/uid
+
 Revision 1.1  2009/05/11 13:19:02  jajcus
 - new package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pacemaker/pacemaker.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list