[openlmi-storage] Fixed registration of static indication filters
Jan Šafránek
jsafrane at fedoraproject.org
Wed Jun 26 10:38:46 UTC 2013
commit c7737818f5be8070f2485561e80c22c471763e8d
Author: Jan Safranek <jsafrane at redhat.com>
Date: Wed Jun 26 12:38:27 2013 +0200
Fixed registration of static indication filters
openlmi-storage.spec | 40 +++++++++++++++++++++++++++++++++++++++-
1 files changed, 39 insertions(+), 1 deletions(-)
---
diff --git a/openlmi-storage.spec b/openlmi-storage.spec
index a804908..8f5b17c 100644
--- a/openlmi-storage.spec
+++ b/openlmi-storage.spec
@@ -1,6 +1,6 @@
Name: openlmi-storage
Version: 0.5.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: CIM providers for storage management
License: LGPLv2+
@@ -53,6 +53,17 @@ if [ "$1" -gt 1 ]; then
%{_datadir}/%{name}/*.mof \
%{_datadir}/%{name}/LMI_Storage.reg \
> /dev/null 2>&1 || :
+
+ # static indication filters
+ openlmi-mof-register unregister \
+ -c tog-pegasus -n root/PG_interop --just-mofs \
+ %{_datadir}/%{name}/70*.mof \
+ > /dev/null 2>&1 || :
+
+ openlmi-mof-register unregister \
+ -c sfcbd -n root/interop --just-mofs \
+ %{_datadir}/%{name}/70*.mof \
+ > /dev/null 2>&1 || :
fi
%post
@@ -62,6 +73,18 @@ if [ "$1" -ge 1 ]; then
%{_datadir}/%{name}/6*_LMI_Storage.mof \
%{_datadir}/%{name}/LMI_Storage.reg \
> /dev/null 2>&1 || :
+
+ # static indication filters
+ openlmi-mof-register register \
+ -c tog-pegasus -n root/PG_interop --just-mofs \
+ %{_datadir}/%{name}/70*.mof \
+ > /dev/null 2>&1 || :
+
+ openlmi-mof-register register \
+ -c sfcbd -n root/interop --just-mofs \
+ %{_datadir}/%{name}/70*.mof \
+ > /dev/null 2>&1 || :
+
fi
%preun
@@ -71,6 +94,18 @@ if [ "$1" -eq 0 ]; then
%{_datadir}/%{name}/6*_LMI_Storage.mof \
%{_datadir}/%{name}/LMI_Storage.reg \
> /dev/null 2>&1 || :
+
+ # static indication filters
+ openlmi-mof-register unregister \
+ -c tog-pegasus -n root/PG_interop --just-mofs \
+ %{_datadir}/%{name}/70*.mof \
+ > /dev/null 2>&1 || :
+
+ openlmi-mof-register unregister \
+ -c sfcbd -n root/interop --just-mofs \
+ %{_datadir}/%{name}/70*.mof \
+ > /dev/null 2>&1 || :
+
fi
@@ -81,6 +116,9 @@ fi
%config(noreplace,missingok) %{_sysconfdir}/openlmi/storage/storage.conf
%changelog
+* Wed Jun 26 2013 Jan Safranek <jsafrane at redhat.com> - 0.5.1-2
+- Fixed registration of static indication filters
+
* Thu May 30 2013 Jan Safranek <jsafrane at redhat.com> - 0.5.1-1
- Update to 0.5.1
More information about the scm-commits
mailing list