summaryrefslogtreecommitdiffstats
path: root/openlmi-providers.spec
diff options
context:
space:
mode:
authorPeter Schiffer <pschiffe@redhat.com>2013-07-26 10:06:42 +0200
committerPeter Schiffer <pschiffe@redhat.com>2013-07-26 10:06:42 +0200
commit140e386bec149a7dab9b6ff760cfce795b6f7599 (patch)
tree6ced3975d36b92c83305920ba5ca0ca783735e98 /openlmi-providers.spec
parent1e773b6af3066658ccc7eb7c4092894d76285f32 (diff)
parent0635f9b4e340127b5fa4fb57d1f3701fac073285 (diff)
downloadopenlmi-providers-140e386bec149a7dab9b6ff760cfce795b6f7599.tar.gz
openlmi-providers-140e386bec149a7dab9b6ff760cfce795b6f7599.tar.xz
openlmi-providers-140e386bec149a7dab9b6ff760cfce795b6f7599.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providers
Diffstat (limited to 'openlmi-providers.spec')
-rw-r--r--openlmi-providers.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec
index 9f79668..4e879d5 100644
--- a/openlmi-providers.spec
+++ b/openlmi-providers.spec
@@ -450,6 +450,9 @@ if [ "$1" -gt 1 ]; then
%{_datadir}/%{name}/60_LMI_Account.mof \
%{_datadir}/%{name}/60_LMI_Account.reg \
> /dev/null 2>&1 || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
+ %{_datadir}/%{name}/90_LMI_Account_Profile.mof \
+ > /dev/null 2>&1 || :;
fi
%pre -n openlmi-software
@@ -538,6 +541,9 @@ if [ "$1" -ge 1 ]; then
%{_datadir}/%{name}/60_LMI_Account.mof \
%{_datadir}/%{name}/60_LMI_Account.reg \
> /dev/null 2>&1 || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop register \
+ %{_datadir}/%{name}/90_LMI_Account_Profile.mof \
+ > /dev/null 2>&1 || :;
fi
%post -n openlmi-software
@@ -625,6 +631,9 @@ if [ "$1" -eq 0 ]; then
%{_datadir}/%{name}/60_LMI_Account.mof \
%{_datadir}/%{name}/60_LMI_Account.reg \
> /dev/null 2>&1 || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
+ %{_datadir}/%{name}/90_LMI_Account_Profile.mof \
+ > /dev/null 2>&1 || :;
fi
%preun -n openlmi-software
@@ -684,6 +693,7 @@ fi
%changelog
* Thu Jul 25 2013 Jan Synáček <jsynacek@redhat.com> - 0.0.25-9
- Add logicalfile profile registration
+- Correctly register account profiles
* Thu Jul 25 2013 Radek Novacek <rnovacek@redhat.com> - 0.0.25-8
- Add version to mof/reg registration