diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2014-05-26 16:51:54 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2014-05-26 16:51:54 +0200 |
commit | d0a0b7c271ec282c31b05a12f5272df28288e5e7 (patch) | |
tree | 681296537a2a024fa2aba1a91bab7a9b10812f2e | |
parent | 2efed76bbc2b91f02fbf6e204680374d9f521302 (diff) | |
download | openlmi-providers-d0a0b7c271ec282c31b05a12f5272df28288e5e7.tar.gz openlmi-providers-d0a0b7c271ec282c31b05a12f5272df28288e5e7.tar.xz openlmi-providers-d0a0b7c271ec282c31b05a12f5272df28288e5e7.zip |
journald: Update the spec file for new static indication filters
-rw-r--r-- | openlmi-providers.spec | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec index 393f8cb..dc975d5 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -36,7 +36,7 @@ Name: openlmi-providers Version: 0.4.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Set of basic CIM providers %if 0%{?suse_version} @@ -853,6 +853,7 @@ cp -pr tools/openlmitheme/* $RPM_BUILD_ROOT/%{python_sitelib}/sphinx/themes/open %{_libdir}/cmpi/libcmpiLMI_Journald.so %{_datadir}/%{name}/60_LMI_Journald.mof %{_datadir}/%{name}/60_LMI_Journald.reg +%{_datadir}/%{name}/70_LMI_JournaldIndicationFilters.mof %{_datadir}/%{name}/90_LMI_Journald_Profile.mof %attr(755, root, root) %{_libexecdir}/pegasus/cmpiLMI_Journald-cimprovagt @@ -999,6 +1000,11 @@ fi >> %logfile 2>&1 %if 0%{with_journald} %pre -n openlmi-journald if [ "$1" -gt 1 ]; then + # delete indication filters + %{_bindir}/openlmi-mof-register --just-mofs -n root/interop -c sfcbd unregister \ + %{_datadir}/%{name}/70_LMI_JournaldIndicationFilters.mof || :; + %{_bindir}/openlmi-mof-register --just-mofs -n %{interop} -c tog-pegasus unregister \ + %{_datadir}/%{name}/70_LMI_JournaldIndicationFilters.mof || :; %{_bindir}/openlmi-mof-register -v %{providers_version} unregister \ %{_datadir}/%{name}/60_LMI_Journald.mof \ %{_datadir}/%{name}/60_LMI_Journald.reg || :; @@ -1100,6 +1106,11 @@ if [ "$1" -ge 1 ]; then %{_bindir}/openlmi-mof-register -v %{providers_version} register \ %{_datadir}/%{name}/60_LMI_Journald.mof \ %{_datadir}/%{name}/60_LMI_Journald.reg || :; + # install indication filters for sfcbd + %{_bindir}/openlmi-mof-register --just-mofs -n root/interop -c sfcbd register \ + %{_datadir}/%{name}/70_LMI_JournaldIndicationFilters.mof || :; + %{_bindir}/openlmi-mof-register --just-mofs -n %{interop} -c tog-pegasus register \ + %{_datadir}/%{name}/70_LMI_JournaldIndicationFilters.mof || :; %{_bindir}/openlmi-mof-register --just-mofs -n %{interop} -c tog-pegasus register \ %{_datadir}/%{name}/90_LMI_Journald_Profile.mof || :; fi >> %logfile 2>&1 @@ -1208,6 +1219,11 @@ fi >> %logfile 2>&1 %if 0%{with_journald} %preun -n openlmi-journald if [ "$1" -eq 0 ]; then + # delete indication filters + %{_bindir}/openlmi-mof-register --just-mofs -n root/interop -c sfcbd unregister \ + %{_datadir}/%{name}/70_LMI_JournaldIndicationFilters.mof || :; + %{_bindir}/openlmi-mof-register --just-mofs -n %{interop} -c tog-pegasus unregister \ + %{_datadir}/%{name}/70_LMI_JournaldIndicationFilters.mof || :; %{_bindir}/openlmi-mof-register -v %{providers_version} unregister \ %{_datadir}/%{name}/60_LMI_Journald.mof \ %{_datadir}/%{name}/60_LMI_Journald.reg || :; @@ -1217,6 +1233,9 @@ fi >> %logfile 2>&1 %endif %changelog +* Mon May 26 2014 Tomas Bzatek <tbzatek@redhat.com> 0.4.2-11 +- Include journald indication filters + * Tue May 20 2014 Radek Novacek <rnovacek@redhat.com> - 0.4.2-10 - Use PG_InterOp on RHEL-6 with tog-pegasus |