packages: python-celery/python-celery.spec - Provides user for created user...

glen glen at pld-linux.org
Thu May 26 12:42:02 CEST 2011


Author: glen                         Date: Thu May 26 10:42:02 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Provides user for created user, fafse?
- do not glob initscripts

---- Files affected:
packages/python-celery:
   python-celery.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/python-celery/python-celery.spec
diff -u packages/python-celery/python-celery.spec:1.13 packages/python-celery/python-celery.spec:1.14
--- packages/python-celery/python-celery.spec:1.13	Thu May 26 12:39:43 2011
+++ packages/python-celery/python-celery.spec	Thu May 26 12:41:57 2011
@@ -1,7 +1,9 @@
 # $Revision$, $Date$
+# TODO
+# - pldize initscript
+# - fill descriptions and urls
 %define 	module	celery
 Summary:	Distributed Task Query
-Summary(pl.UTF-8):	-
 Name:		python-%{module}
 Version:	2.2.6
 Release:	0.3
@@ -17,6 +19,7 @@
 Requires:	python-amqplib
 Requires:	python-anyjson
 Requires:	python-dateutil < 2.0.0
+Provides:	user(celery)
 Requires(post,preun):	/sbin/chkconfig
 Requires:	python-kombu
 Requires:	python-modules
@@ -57,7 +60,8 @@
 rm -rf $RPM_BUILD_ROOT
 
 %pre
-%useradd -u 300 -g users -r -s /bin/fafse "celery user" celery
+# XXX uid 300 not registered in PLD-doc/uid_gid.db.txt
+%useradd -u 300 -g users -r -s /bin/false "celery user" celery
 
 %post
 /sbin/chkconfig --add celeryd
@@ -84,8 +88,8 @@
 %attr(755,root,root) %{_bindir}/celeryd-multi
 %attr(755,root,root) %{_bindir}/celeryev
 
-%attr(754,root,root) /etc/rc.d/init.d/*
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
+%attr(754,root,root) /etc/rc.d/init.d/celeryd
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/celeryd
 
 %{py_sitescriptdir}/%{module}
 %if "%{py_ver}" > "2.4"
@@ -102,6 +106,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2011/05/26 10:41:57  glen
+- Provides user for created user, fafse?
+- do not glob initscripts
+
 Revision 1.13  2011/05/26 10:39:43  glen
 - no inline config, move it to cvs source
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-celery/python-celery.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list