rpms/oddjob/F-7 .cvsignore, 1.6, 1.7 oddjob.spec, 1.14, 1.15 sources, 1.6, 1.7

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


Author: nalin

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

Modified Files:
	.cvsignore oddjob.spec sources 
Log Message:
- resync with F-8 and F-9 packaging



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/F-7/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	20 Jul 2006 18:39:13 -0000	1.6
+++ .cvsignore	29 May 2008 17:57:26 -0000	1.7
@@ -1 +1 @@
-oddjob-0.27-1.tar.gz
+oddjob-0.29.1-1.tar.gz


Index: oddjob.spec
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/F-7/oddjob.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- oddjob.spec	13 Feb 2007 23:39:12 -0000	1.14
+++ oddjob.spec	29 May 2008 17:57:26 -0000	1.15
@@ -1,8 +1,9 @@
 %define build_sample 0
+%define dbus_send /bin/dbus-send
 
 Name: oddjob
-Version: 0.27
-Release: 10
+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
@@ -12,17 +13,27 @@
 BuildRequires: pam-devel, python-devel, pkgconfig
 BuildRequires: cyrus-sasl-devel, krb5-devel, openldap-devel
 BuildRequires: docbook-dtds, xmlto
-BuildRequires: python-devel
 Requires(post): /sbin/service
+Requires(postun): /sbin/service
 Requires(post): /sbin/chkconfig
 Requires(pre): /sbin/chkconfig
 URL: http://people.redhat.com/nalin/oddjob/
-Requires: %{name}-libs = %{version}-%{release}
 
 %description
 oddjob is a D-BUS service which performs particular tasks for clients which
 connect to it and issue requests using the system-wide message bus.
 
+%package mkhomedir
+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
+pam_oddjob_mkhomedir module to create a home directory for a user
+at login-time.
+
 %package devel
 Group: Development/Libraries
 Summary: Files for developing oddjob clients
@@ -43,6 +54,16 @@
 This package contains dynamic libraries which are used by simple oddjob client
 applications.
 
+%package python
+Group: System Environment/Libraries
+Summary: A Python binding for oddjob clients
+Requires: %{name}-libs = %{version}-%{release}
+
+%description python
+This package contains a python module which allows client applications
+written in the Python language to issue requests to the oddjobd server
+using the message bus.
+
 %package sample
 Group: System Environment/Daemons
 Summary: A sample oddjob service.
@@ -61,10 +82,11 @@
 %endif
 %configure \
 	--disable-static \
-	--with-selinux-acls=default \
+	--with-selinux-acls \
 	--with-selinux-labels \
 	--with-python --enable-xml-docs --enable-compat-dtd \
-	--libexecdir=%{_libdir} \
+	--libexecdir=%{_libexecdir} \
+	--disable-dependency-tracking \
 	$sample_flag
 make %{_smp_mflags}
 
@@ -94,7 +116,7 @@
 
 %files
 %defattr(-,root,root)
-%doc *.dtd COPYING QUICKSTART python/sample.py doc/oddjob.html
+%doc *.dtd COPYING QUICKSTART python/sample.py doc/oddjob.html src/reload
 %if ! %{build_sample}
 %doc sample-install-root/sample
 %endif
@@ -104,19 +126,30 @@
 %config(noreplace) %{_sysconfdir}/dbus-*/system.d/oddjob.conf
 %config(noreplace) %{_sysconfdir}/oddjobd.conf
 %dir %{_sysconfdir}/oddjobd.conf.d
-%config %{_sysconfdir}/oddjobd.conf.d/oddjobd-introspection.conf
+%config(noreplace) %{_sysconfdir}/oddjobd.conf.d/oddjobd-introspection.conf
 %dir %{_sysconfdir}/%{name}
 %dir %{_libdir}/%{name}
-%{_libdir}/%{name}/mkhomedir
-%{_libdir}/%{name}/sanity.sh
+%dir %{_libexecdir}/%{name}
+%{_libexecdir}/%{name}/sanity.sh
 %{_mandir}/*/oddjob*.*
 
+%files mkhomedir
+%defattr(-,root,root)
+%doc src/mkhomedirfor src/mkmyhomedir
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/mkhomedir
+/%{_lib}/security/pam_oddjob_mkhomedir.so
+%{_mandir}/*/pam_oddjob_mkhomedir.*
+%config(noreplace) %{_sysconfdir}/dbus-*/system.d/oddjob-mkhomedir.conf
+%config(noreplace) %{_sysconfdir}/oddjobd.conf.d/oddjobd-mkhomedir.conf
+
 %files libs
 %defattr(-,root,root)
 %{_libdir}/liboddjob.so.*
+
+%files python
+%defattr(-,root,root)
 %{_libdir}/python*/site-packages/*
-/%{_lib}/security/*.so
-%{_mandir}/*/pam_*.*
 
 %files devel
 %defattr(-,root,root)
@@ -135,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
@@ -144,16 +183,35 @@
 %post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
 
-%changelog
-* Tue Feb 13 2007 Nalin Dahyabhai <nalin at redhat.com> 0.27-10
-- make -devel depend on -libs, which supplies the libraries to which it
-  symlinks (#228377)
+%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
 
-* Sun Dec 10 2006 Nalin Dahyabhai <nalin at redhat.com> 0.27-9
-- add BuildRequires: on python-devel
+%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
+
+* Wed Sep  5 2007 Nalin Dahyabhai <nalin at redhat.com> 0.29-1
+- split off mkhomedir bits into a subpackage (#236820)
+- take a pass at new-init-ifying the init script (#247005)
+
+* Thu Aug 16 2007 Nalin Dahyabhai <nalin at redhat.com>
+- move helpers to libexecdir, keeping pkglibdir around in the package (#237207)
+
+* Mon Apr  9 2007 Nalin Dahyabhai <nalin at redhat.com> 0.28-1
+- split off python subpackage, make -devel depend on -libs, let autodeps
+  provide the main package's dependency on -libs (#228377)
 
-* Thu Sep  7 2006 Nalin Dahyabhai <nalin at redhat.com> 0.27-8
-- rebuild
+* Thu Feb 15 2007 Nalin Dahyabhai <nalin at redhat.com> 0.27-8
+- configure with --disable-dependency-tracking (Ville Skyttä, #228928)
 
 * Thu Jul 25 2006 Nalin Dahyabhai <nalin at redhat.com> 0.27-7
 - unmark the init script as a %%config file (part of #197182)
@@ -224,7 +282,7 @@
 - update to 0.25:
   - add introspection for parents of objects specified in the configuration
   - oddjobd can reload its configuration now
-  - add -u (umask) and -s (skeldir) flags to the mkhomedir helper
+  - add -u (umask) and -s (skeldir) flags to the mkhomedir helper (#246681)
 
 * Tue Feb 28 2006 Nalin Dahyabhai <nalin at redhat.com> 0.24-1
 - update to 0.24, fixing some build errors against D-BUS 0.30-0.33


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/oddjob/F-7/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	20 Jul 2006 18:39:13 -0000	1.6
+++ sources	29 May 2008 17:57:26 -0000	1.7
@@ -1 +1 @@
-22af2ce420a85b0526b6af7fc12e0e26  oddjob-0.27-1.tar.gz
+064377e83a3684a5feb9468a93e8d912  oddjob-0.29.1-1.tar.gz




More information about the scm-commits mailing list