packages: python-celery/python-celery.spec - s/default/sysconfig/ in celeryd.
cieciwa
cieciwa at pld-linux.org
Wed May 25 12:11:43 CEST 2011
Author: cieciwa Date: Wed May 25 10:11:43 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- s/default/sysconfig/ in celeryd.
---- Files affected:
packages/python-celery:
python-celery.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/python-celery/python-celery.spec
diff -u packages/python-celery/python-celery.spec:1.9 packages/python-celery/python-celery.spec:1.10
--- packages/python-celery/python-celery.spec:1.9 Wed May 25 11:37:34 2011
+++ packages/python-celery/python-celery.spec Wed May 25 12:11:38 2011
@@ -4,7 +4,7 @@
Summary(pl.UTF-8): -
Name: python-%{module}
Version: 2.2.6
-Release: 0.2
+Release: 0.3
License: BSD-like
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
@@ -40,7 +40,8 @@
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
-cp -a contrib/generic-init.d/* $RPM_BUILD_ROOT/etc/rc.d/init.d/
+cp -a contrib/generic-init.d/celeryd $RPM_BUILD_ROOT/etc/rc.d/init.d/
+sed -i 's/default/sysconfig/' $RPM_BUILD_ROOT/etc/rc.d/init.d/celeryd
cat > $RPM_BUILD_ROOT/etc/sysconfig/celeryd << EOF
# # List of nodes to start
@@ -67,10 +68,10 @@
%useradd -u 300 -g users -r -s /bin/fafse "celery user" celery
%preun
-/etc/init.d/rc.d/%{module}d stop
+/etc/rc.d/init.d/%{module}d stop
%post
-echo "Use: \"/etc/init.d/rc.d/%{module}d start\" to start celry."
+echo "Use: \"/etc/rc.d/init.d/%{module}d start\" to start celry."
%postun
%userremove celery
@@ -103,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2011/05/25 10:11:38 cieciwa
+- s/default/sysconfig/ in celeryd.
+
Revision 1.9 2011/05/25 09:37:34 cieciwa
- release 0.2,
- change %{name} to %{module} in %{pre,post}.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-celery/python-celery.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list