rpms/oddjob/F-8 .cvsignore, 1.7, 1.8 oddjob.spec, 1.16, 1.17 sources, 1.7, 1.8 oddjob-0.29-1-interface.patch, 1.1, NONE

Nalin Somabhai Dahyabhai (nalin) fedora-extras-commits at redhat.com
Thu May 29 17:48:20 UTC 2008


Author: nalin

Update of /cvs/pkgs/rpms/oddjob/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15873/F-8

Modified Files:
	.cvsignore oddjob.spec sources 
Removed Files:
	oddjob-0.29-1-interface.patch 
Log Message:
- fixup default configs to properly account for namespacing changes



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/F-8/.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	29 May 2008 17:47:34 -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/F-8/oddjob.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- oddjob.spec	22 Jan 2008 16:22:46 -0000	1.16
+++ oddjob.spec	29 May 2008 17:47:34 -0000	1.17
@@ -1,10 +1,10 @@
 %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
-Patch: oddjob-0.29-1-interface.patch
 Summary: A D-BUS service which runs odd jobs on behalf of client applications
 License: BSD
 Group: System Environment/Daemons
@@ -14,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/
@@ -26,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
@@ -72,7 +74,6 @@
 
 %prep
 %setup -q -n %{name}-%{version}-1
-%patch -p1 -b .interface
 
 %build
 sample_flag=
@@ -167,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
@@ -176,10 +183,21 @@
 %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
-* Tue Jan 22 2008 Nalin Dahyabhai <nalin at redhat.com> 0.29-2
-- correct a typoed interface name declaration in the oddjobd-mkhomedir.conf
-  file which made the mkhomedir helper not work (part of #429524)
+* 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
 
 * Wed Sep  5 2007 Nalin Dahyabhai <nalin at redhat.com> 0.29-1
 - split off mkhomedir bits into a subpackage (#236820)


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/F-8/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	29 May 2008 17:47:34 -0000	1.8
@@ -1 +1 @@
-51aac71afb06315afd6d6434cf5aa3cc  oddjob-0.29-1.tar.gz
+064377e83a3684a5feb9468a93e8d912  oddjob-0.29.1-1.tar.gz


--- oddjob-0.29-1-interface.patch DELETED ---




More information about the fedora-extras-commits mailing list