summaryrefslogtreecommitdiffstats
path: root/func.spec
diff options
context:
space:
mode:
Diffstat (limited to 'func.spec')
-rw-r--r--func.spec9
1 files changed, 9 insertions, 0 deletions
diff --git a/func.spec b/func.spec
index c43da30..cff9bb0 100644
--- a/func.spec
+++ b/func.spec
@@ -54,6 +54,7 @@ rm -fr $RPM_BUILD_ROOT
%{_bindir}/func
%{_bindir}/func-inventory
%{_bindir}/func-create-module
+%{_bindir}/update-func
/etc/init.d/funcd
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/minion-acl.d/
@@ -102,6 +103,10 @@ else
ln -sf /etc/init.d/funcd /etc/rc.d/rc${i}.d/S99funcd
done
fi
+
+# upgrade old installs if needed
+/usr/bin/update-func
+
exit 0
%preun
@@ -117,7 +122,11 @@ if [ "$1" = 0 ] ; then
fi
+
%changelog
+* Mon Mar 03 2008 Adrian Likins <alikins@redhat.com> - 0.18-1
+- run update-func from the %post
+
* Wed Feb 13 2008 Adrian Likins <alikins@redhat.com> - 0.18-1
- split off certmaster