packages: python-celery/python-celery.spec, python-celery/celeryd.sysconfig...

glen glen at pld-linux.org
Thu May 26 12:39:48 CEST 2011


Author: glen                         Date: Thu May 26 10:39:48 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- no inline config, move it to cvs source

---- Files affected:
packages/python-celery:
   python-celery.spec (1.12 -> 1.13) , celeryd.sysconfig (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-celery/python-celery.spec
diff -u packages/python-celery/python-celery.spec:1.12 packages/python-celery/python-celery.spec:1.13
--- packages/python-celery/python-celery.spec:1.12	Thu May 26 12:36:59 2011
+++ packages/python-celery/python-celery.spec	Thu May 26 12:39:43 2011
@@ -9,6 +9,7 @@
 Group:		Development/Languages/Python
 Source0:	http://pypi.python.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
 # Source0-md5:	0c8f5ec2535e2aaf692fd0227a5bb407
+Source1:	celeryd.sysconfig
 URL:		-
 BuildRequires:	python-distribute
 BuildRequires:	rpm-pythonprov
@@ -48,21 +49,7 @@
 sed -i 's/default/sysconfig/' $RPM_BUILD_ROOT/etc/rc.d/init.d/celeryd
 
 ## creating dummy celeryd config file
-cat > $RPM_BUILD_ROOT/etc/sysconfig/celeryd << EOF
-#   # List of nodes to start
-#   CELERYD_NODES="worker1 worker2 worker3"k
-#   # ... can also be a number of workers
-#   CELERYD_NODES=3
-#
-#   # Where to chdir at start.
-#   CELERYD_CHDIR="/opt/Myproject/"
-#
-#   # Extra arguments to celeryd
-#   CELERYD_OPTS="--time-limit=300"
-#
-#   # Name of the celery config module.#
-#   CELERY_CONFIG_MODULE="celeryconfig"
-EOF
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/celeryd
 
 %py_postclean
 
@@ -115,6 +102,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2011/05/26 10:39:43  glen
+- no inline config, move it to cvs source
+
 Revision 1.12  2011/05/26 10:36:59  glen
 - do not remove celery user on package upgrades
 - standard chckconfig and service restart, update deps

================================================================
Index: packages/python-celery/celeryd.sysconfig
diff -u /dev/null packages/python-celery/celeryd.sysconfig:1.1
--- /dev/null	Thu May 26 12:39:48 2011
+++ packages/python-celery/celeryd.sysconfig	Thu May 26 12:39:43 2011
@@ -0,0 +1,15 @@
+# Config for celeryd
+
+# List of nodes to start
+#CELERYD_NODES="worker1 worker2 worker3"k
+# ... can also be a number of workers
+#CELERYD_NODES=3
+
+# Where to chdir at start.
+#CELERYD_CHDIR="/opt/Myproject/"
+
+# Extra arguments to celeryd
+#CELERYD_OPTS="--time-limit=300"
+
+# Name of the celery config module.#
+#CELERY_CONFIG_MODULE="celeryconfig"
================================================================

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



More information about the pld-cvs-commit mailing list