packages: python-celery/python-celery.spec - pldized celeryd.init added; re...

zbyniu zbyniu at pld-linux.org
Thu Jun 16 21:12:21 CEST 2011


Author: zbyniu                       Date: Thu Jun 16 19:12:21 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pldized celeryd.init added; rel 0.5

---- Files affected:
packages/python-celery:
   python-celery.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/python-celery/python-celery.spec
diff -u packages/python-celery/python-celery.spec:1.15 packages/python-celery/python-celery.spec:1.16
--- packages/python-celery/python-celery.spec:1.15	Thu May 26 15:34:34 2011
+++ packages/python-celery/python-celery.spec	Thu Jun 16 21:12:16 2011
@@ -1,16 +1,17 @@
 # $Revision$, $Date$
 # TODO
-# - pldize initscript
+# - better group
 %define 	module	celery
 Summary:	Distributed Task Query
 Name:		python-%{module}
 Version:	2.2.6
-Release:	0.4
+Release:	0.5
 License:	BSD-like
 Group:		Development/Languages/Python
 Source0:	http://pypi.python.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
 # Source0-md5:	0c8f5ec2535e2aaf692fd0227a5bb407
 Source1:	celeryd.sysconfig
+Source2:	celeryd.init
 URL:		http://celeryproject.org/
 BuildRequires:	python-distribute
 BuildRequires:	rpm-pythonprov
@@ -48,14 +49,8 @@
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
-install -p contrib/generic-init.d/celeryd $RPM_BUILD_ROOT/etc/rc.d/init.d
-
-## fixed path to celeryd configuration file.
-sed -i 's/default/sysconfig/' $RPM_BUILD_ROOT/etc/rc.d/init.d/celeryd
-
-## creating dummy celeryd config file
-cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/celeryd
+install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/celeryd
+install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d/celeryd
 
 %py_postclean
 
@@ -109,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2011/06/16 19:12:16  zbyniu
+- pldized celeryd.init added; rel 0.5
+
 Revision 1.15  2011/05/26 13:34:34  zbyniu
 - desc, URL, more strict R:
 
================================================================

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



More information about the pld-cvs-commit mailing list