packages: python-celery/python-celery.spec - subdirs for pid and log files
zbyniu
zbyniu at pld-linux.org
Fri Mar 16 01:00:09 CET 2012
Author: zbyniu Date: Fri Mar 16 00:00:09 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- subdirs for pid and log files
---- Files affected:
packages/python-celery:
python-celery.spec (1.22 -> 1.23)
---- Diffs:
================================================================
Index: packages/python-celery/python-celery.spec
diff -u packages/python-celery/python-celery.spec:1.22 packages/python-celery/python-celery.spec:1.23
--- packages/python-celery/python-celery.spec:1.22 Wed Mar 7 14:24:46 2012
+++ packages/python-celery/python-celery.spec Fri Mar 16 01:00:03 2012
@@ -3,13 +3,14 @@
Summary: Distributed Task Query
Name: python-%{module}
Version: 2.5.1
-Release: 0.3
+Release: 0.4
License: BSD-like
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
# Source0-md5: c0912f29b69929219b353c748e0bf936
Source1: celeryd.sysconfig
Source2: celeryd.init
+Source3: celery.tmpfiles
URL: http://celeryproject.org/
BuildRequires: python-distribute
BuildRequires: rpm-pythonprov
@@ -44,6 +45,9 @@
--optimize=2 \
--root=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_localstatedir}/run/celery
+install -d $RPM_BUILD_ROOT/var/log{,/archive}/celery
+install -D %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/celery.conf
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -87,6 +91,10 @@
%attr(754,root,root) /etc/rc.d/init.d/celeryd
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/celeryd
+%attr(750,celery,root) %dir %{_localstatedir}/run/celery
+%attr(750,celery,logs) %dir /var/log/archive/celery
+%attr(750,celery,logs) /var/log/celery
+/usr/lib/tmpfiles.d/celery.conf
%{py_sitescriptdir}/%{module}
%if "%{py_ver}" > "2.4"
@@ -100,6 +108,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.23 2012/03/16 00:00:03 zbyniu
+- subdirs for pid and log files
+
Revision 1.22 2012/03/07 13:24:46 zbyniu
- up to 2.5.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-celery/python-celery.spec?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list