rpms/oddjob/devel .cvsignore, 1.7, 1.8 oddjob.spec, 1.16, 1.17 sources, 1.7, 1.8
Nalin Somabhai Dahyabhai (nalin)
fedora-extras-commits at redhat.com
Wed May 28 16:47:35 UTC 2008
Author: nalin
Update of /cvs/pkgs/rpms/oddjob/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21889/devel
Modified Files:
.cvsignore oddjob.spec sources
Log Message:
- update to 0.29.1, fixing naming of services in the configuration files
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore 5 Sep 2007 23:58:45 -0000 1.7
+++ .cvsignore 28 May 2008 16:46:45 -0000 1.8
@@ -1,2 +1 @@
-oddjob-0.27-1.tar.gz
-oddjob-0.29-1.tar.gz
+oddjob-0.29.1-1.tar.gz
Index: oddjob.spec
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/devel/oddjob.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- oddjob.spec 19 Feb 2008 15:56:45 -0000 1.16
+++ oddjob.spec 28 May 2008 16:46:45 -0000 1.17
@@ -1,8 +1,9 @@
%define build_sample 0
+%define dbus_send /bin/dbus-send
Name: oddjob
-Version: 0.29
-Release: 2%{?dist}
+Version: 0.29.1
+Release: 1%{?dist}
Source: http://people.redhat.com/nalin/oddjob/oddjob-%{version}-1.tar.gz
Summary: A D-BUS service which runs odd jobs on behalf of client applications
License: BSD
@@ -13,6 +14,7 @@
BuildRequires: cyrus-sasl-devel, krb5-devel, openldap-devel
BuildRequires: docbook-dtds, xmlto
Requires(post): /sbin/service
+Requires(postun): /sbin/service
Requires(post): /sbin/chkconfig
Requires(pre): /sbin/chkconfig
URL: http://people.redhat.com/nalin/oddjob/
@@ -25,6 +27,7 @@
Group: System Environment/Daemons
Summary: An oddjob helper which creates and populates home directories
Requires: %{name} = %{version}-%{release}
+Requires(post): %{dbus_send}
%description mkhomedir
This package contains the oddjob helper which can be used by the
@@ -165,6 +168,12 @@
%post
/sbin/chkconfig --add oddjobd
+%postun
+if [ $1 -gt 0 ] ; then
+ /sbin/service oddjobd condrestart 2>&1 > /dev/null || :
+fi
+exit 0
+
%preun
if [ $1 -eq 0 ] ; then
/sbin/service oddjobd stop > /dev/null 2>&1
@@ -174,7 +183,19 @@
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
+%post mkhomedir
+if [ -f /var/lock/subsys/oddjobd ] ; then
+ %{dbus_send} --system --dest=com.redhat.oddjob /com/redhat/oddjob com.redhat.oddjob.reload
+fi
+exit 0
+
%changelog
+* Wed May 28 2008 Nalin Dahyabhai <nalin at redhat.com> 0.29.1-1
+- when we install the mkhomedir subpackage, if there's a running oddjobd, ask
+ it to reload its configuration
+- fix missing bits from the namespace changes in configuration files
+- restart the service in %%postun
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.29-2
- Autorebuild for GCC 4.3
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources 5 Sep 2007 23:58:45 -0000 1.7
+++ sources 28 May 2008 16:46:45 -0000 1.8
@@ -1 +1 @@
-51aac71afb06315afd6d6434cf5aa3cc oddjob-0.29-1.tar.gz
+064377e83a3684a5feb9468a93e8d912 oddjob-0.29.1-1.tar.gz
More information about the fedora-extras-commits
mailing list