summaryrefslogtreecommitdiffstats
path: root/openlmi-providers.spec
diff options
context:
space:
mode:
Diffstat (limited to 'openlmi-providers.spec')
-rw-r--r--openlmi-providers.spec15
1 files changed, 14 insertions, 1 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec
index 9872d2c..9f79668 100644
--- a/openlmi-providers.spec
+++ b/openlmi-providers.spec
@@ -1,6 +1,6 @@
Name: openlmi-providers
Version: 0.0.25
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Set of basic CIM providers
License: LGPLv2+
@@ -345,6 +345,7 @@ mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}
%{_libdir}/cmpi/libcmpiLMI_LogicalFile.so
%{_datadir}/%{name}/60_LMI_LogicalFile.mof
%{_datadir}/%{name}/60_LMI_LogicalFile.reg
+%{_datadir}/%{name}/90_LMI_LogicalFile_Profile.mof
%attr(755, root, root) %{_libexecdir}/pegasus/cmpiLMI_LogicalFile-cimprovagt
%files -n openlmi-realmd
@@ -475,6 +476,9 @@ if [ "$1" -gt 1 ]; then
%{_datadir}/%{name}/60_LMI_LogicalFile.mof \
%{_datadir}/%{name}/60_LMI_LogicalFile.reg \
> /dev/null 2>&1 || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
+ %{_datadir}/%{name}/90_LMI_LogicalFile_Profile.mof \
+ > /dev/null 2>&1 || :;
fi
%pre -n openlmi-realmd
@@ -560,6 +564,9 @@ if [ "$1" -gt 1 ]; then
%{_datadir}/%{name}/60_LMI_LogicalFile.mof \
%{_datadir}/%{name}/60_LMI_LogicalFile.reg \
> /dev/null 2>&1 || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop register \
+ %{_datadir}/%{name}/90_LMI_LogicalFile_Profile.mof \
+ > /dev/null 2>&1 || :;
fi
%post -n openlmi-realmd
@@ -644,6 +651,9 @@ if [ "$1" -gt 1 ]; then
%{_datadir}/%{name}/60_LMI_LogicalFile.mof \
%{_datadir}/%{name}/60_LMI_LogicalFile.reg \
> /dev/null 2>&1 || :;
+ %{_bindir}/openlmi-mof-register --just-mofs -n root/interop unregister \
+ %{_datadir}/%{name}/90_LMI_LogicalFile_Profile.mof \
+ > /dev/null 2>&1 || :;
fi
%preun -n openlmi-realmd
@@ -672,6 +682,9 @@ if [ "$1" -gt 1 ]; then
fi
%changelog
+* Thu Jul 25 2013 Jan Synáček <jsynacek@redhat.com> - 0.0.25-9
+- Add logicalfile profile registration
+
* Thu Jul 25 2013 Radek Novacek <rnovacek@redhat.com> - 0.0.25-8
- Add version to mof/reg registration