[Libvirt-cim] [PATCH] (#2) Add interop and cimv2 ns registrations to spec
Richard Maciel
rmaciel at linux.vnet.ibm.com
Tue Jan 27 13:27:29 UTC 2009
+1
Kaitlin Rupert wrote:
> # HG changeset patch
> # User Kaitlin Rupert <karupert at us.ibm.com>
> # Date 1232740126 28800
> # Node ID eb2df7761596b0fdb38c02aa741c00592e8ddf08
> # Parent c87e67c92f7ceaf556e8be90547de324026f315b
> (#2) Add interop and cimv2 ns registrations to spec.
>
> Updates:
> -Fix the REG and MOF values to reflext the values in Makefile.am
>
> Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>
>
> diff -r c87e67c92f7c -r eb2df7761596 libvirt-cim.spec.in
> --- a/libvirt-cim.spec.in Fri Jan 16 10:19:08 2009 -0800
> +++ b/libvirt-cim.spec.in Fri Jan 23 11:48:46 2009 -0800
> @@ -51,6 +51,12 @@
> %define REGISTRATION %{_datadir}/%{name}/*.registration
> %define SCHEMA %{_datadir}/%{name}/*.mof
>
> +%define INTEROP_REG %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.registration
> +%define INTEROP_MOF %{_datadir}/%{name}/{ComputerSystem,HostSystem,RegisteredProfile,DiskPool,MemoryPool,NetPool,ProcessorPool,VSMigrationService,ElementConformsToProfile,ReferencedProfile}.mof
> +
> +%define CIMV2_REG %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,ElementConformsToProfile,HostedAccessPoint}.registration
> +%define CIMV2_MOF %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,RegisteredProfile,ComputerSystem,ElementConformsToProfile,HostedAccessPoint}.mof
> +
> %{_datadir}/%{name}/provider-register.sh -d -t pegasus \
> -n @CIM_VIRT_NS@ \
> -r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true
> @@ -65,6 +71,15 @@
> %{_datadir}/%{name}/provider-register.sh -t pegasus \
> -n @CIM_VIRT_NS@ \
> -r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true
> +%{_datadir}/%{name}/provider-register.sh -t pegasus \
> + -n @CIM_VIRT_NS@ \
> + -r %{REGISTRATION} -m %{SCHEMA} >/dev/null 2>&1 || true
> +%{_datadir}/%{name}/provider-register.sh -t pegasus \
> + -n root/interop \
> + -r %{INTEROP_REG} -m %{INTEROP_MOF} -v >/dev/null 2>&1 || true
> +%{_datadir}/%{name}/provider-register.sh -t pegasus \
> + -n root/cimv2\
> + -r %{CIMV2_REG} -m %{CIMV2_MOF} -v >/dev/null 2>&1 || true
>
> %preun
> %{_datadir}/%{name}/provider-register.sh -d -t pegasus \
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Richard Maciel, MSc
IBM Linux Technology Center
rmaciel at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list