rpms/gearmand/devel gearmand.sysconfig, NONE, 1.1 gearmand.init, 1.1, 1.2 gearmand.spec, 1.2, 1.3
Peter Lemenkov
peter at fedoraproject.org
Sun May 24 09:20:38 UTC 2009
Author: peter
Update of /cvs/pkgs/rpms/gearmand/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24908
Modified Files:
gearmand.init gearmand.spec
Added Files:
gearmand.sysconfig
Log Message:
post-review fixes - see https://bugzilla.redhat.com/show_bug.cgi?id=487148
--- NEW FILE gearmand.sysconfig ---
## Settings for gearmand
#OPTIONS=""
Index: gearmand.init
===================================================================
RCS file: /cvs/pkgs/rpms/gearmand/devel/gearmand.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gearmand.init 5 May 2009 10:48:07 -0000 1.1
+++ gearmand.init 24 May 2009 09:20:04 -0000 1.2
@@ -25,10 +25,10 @@ if [ -f /etc/sysconfig/gearmand ]; then
. /etc/sysconfig/gearmand
fi
-[ -z "${PIDFILE}" ] && pidfile = "/var/run/gearmand/gearmand.pid"
+[ -z "${PIDFILE}" ] && pidfile="/var/run/gearmand/gearmand.pid"
[ -z "${LOCKFILE}" ] && lockfile="/var/lock/subsys/gearmand"
-gearmand=/usr/bin/gearmand
+gearmand=/usr/sbin/gearmand
prog=gearmand
RETVAL=0
Index: gearmand.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gearmand/devel/gearmand.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- gearmand.spec 20 May 2009 11:40:48 -0000 1.2
+++ gearmand.spec 24 May 2009 09:20:04 -0000 1.3
@@ -8,6 +8,7 @@ License: BSD
URL: http://www.gearman.org
Source0: http://launchpad.net/gearmand/trunk/%{version}/+download/gearmand-%{version}.tar.gz
Source1: gearmand.init
+Source2: gearmand.sysconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libevent-devel, e2fsprogs-devel
@@ -69,7 +70,9 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -v %{buildroot}%{_libdir}/libgearman.la
-install -D %{SOURCE1} %{buildroot}%{_initrddir}/gearmand
+install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_initrddir}/gearmand
+install -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/gearmand
+mkdir -p %{buildroot}/var/run/gearmand
%clean
@@ -101,6 +104,8 @@ fi
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
+%dir %attr(755,gearmand,gearmand) /var/run/gearmand
+%config(noreplace) %{_sysconfdir}/sysconfig/gearmand
%{_sbindir}/gearmand
%{_bindir}/gearman
%{_initrddir}/gearmand
More information about the scm-commits
mailing list