diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 786b2e9e..87ee5a9d 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -18,6 +18,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Requires: libldb = 0.9.3 Requires: libtdb >= 1.1.3 +Requires(post): python Requires(preun): initscripts chkconfig Requires(postun): /sbin/service @@ -132,6 +133,8 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/chkconfig --add %{servicename} +# a one-time upgrade from confdb v1 to v2 +python %{_libexecdir}/%{servicename}/upgrade_config.py %preun if [ $1 = 0 ]; then @@ -146,6 +149,9 @@ if [ $1 -ge 1 ] ; then fi %changelog +* Fri Sep 25 2009 Stephen Gallagher <sgallagh@redhat.com> - 0.6.0-0 +- Convert to new config file format + * Wed Sep 02 2009 Stephen Gallagher <sgallagh@redhat.com> - 0.5.0-0 - New upstream release 0.5.0 |