Fix typo in CIM_StoragePool.mof

This commit is contained in:
Vitezslav Crhonek 2013-10-07 12:41:11 +02:00
parent c19be11241
commit 384bd2ecc5
2 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,42 @@
diff -up ./cim-schema-2.38.0/Device/CIM_StoragePool.mof.orig ./cim-schema-2.38.0/Device/CIM_StoragePool.mof
--- ./cim-schema-2.38.0/Device/CIM_StoragePool.mof.orig 2013-10-07 12:25:30.959185445 +0200
+++ ./cim-schema-2.38.0/Device/CIM_StoragePool.mof 2013-10-07 12:26:14.942381766 +0200
@@ -248,7 +248,7 @@ class CIM_StoragePool : CIM_ResourcePool
"reported. The Thin Provision values are only "
"supported when the Thin Provisioning Profile is "
"supported; the resulting StorageVolues/LogicalDisk "
- "shall have ThinlyPprovisioned set to true." ),
+ "shall have ThinlyProvisioned set to true." ),
ValueMap { "2", "3", "4", "5", "6" },
Values { "Storage Pool", "Storage Volume",
"Logical Disk", "Thin Provisioned Volume",
@@ -286,7 +286,7 @@ class CIM_StoragePool : CIM_ResourcePool
"only supported when the Thin Provisioning Profile "
"is supported; the resulting "
"StorageVolues/LogicalDisk shall have "
- "ThinlyPprovisioned set to true." ),
+ "ThinlyProvisioned set to true." ),
ValueMap { "2", "3", "4", "5", "6" },
Values { "Storage Pool", "Storage Volume",
"Logical Disk", "Thin Provisioned Volume",
diff -up ./cim-schema-docs/CIM_StoragePool.html.orig ./cim-schema-docs/CIM_StoragePool.html
--- ./cim-schema-docs/CIM_StoragePool.html.orig 2013-10-07 12:25:42.063235238 +0200
+++ ./cim-schema-docs/CIM_StoragePool.html 2013-10-07 12:26:37.246480263 +0200
@@ -412,7 +412,7 @@ Conceptually TotalManagedSpace is the su
<TH ROWSPAN="6" VALIGN="TOP">ElementType</TH><TD ROWSPAN="6" VALIGN="TOP">uint16</TD>
</TR>
<TR>
-<TD VALIGN="TOP">Description</TD><TD VALIGN="TOP">string</TD><TD VALIGN="TOP">The type of element for which supported sizes are reported. The Thin Provision values are only supported when the Thin Provisioning Profile is supported; the resulting StorageVolues/LogicalDisk shall have ThinlyPprovisioned set to true.</TD>
+<TD VALIGN="TOP">Description</TD><TD VALIGN="TOP">string</TD><TD VALIGN="TOP">The type of element for which supported sizes are reported. The Thin Provision values are only supported when the Thin Provisioning Profile is supported; the resulting StorageVolues/LogicalDisk shall have ThinlyProvisioned set to true.</TD>
</TR>
<TR>
<TD VALIGN="TOP">Experimental</TD><TD VALIGN="TOP">boolean</TD><TD VALIGN="TOP">true</TD>
@@ -484,7 +484,7 @@ Conceptually TotalManagedSpace is the su
<TH ROWSPAN="6" VALIGN="TOP">ElementType</TH><TD ROWSPAN="6" VALIGN="TOP">uint16</TD>
</TR>
<TR>
-<TD VALIGN="TOP">Description</TD><TD VALIGN="TOP">string</TD><TD VALIGN="TOP">The type of element for which supported size ranges are reported. The Thin Provision values are only supported when the Thin Provisioning Profile is supported; the resulting StorageVolues/LogicalDisk shall have ThinlyPprovisioned set to true.</TD>
+<TD VALIGN="TOP">Description</TD><TD VALIGN="TOP">string</TD><TD VALIGN="TOP">The type of element for which supported size ranges are reported. The Thin Provision values are only supported when the Thin Provisioning Profile is supported; the resulting StorageVolues/LogicalDisk shall have ThinlyProvisioned set to true.</TD>
</TR>
<TR>
<TD VALIGN="TOP">Experimental</TD><TD VALIGN="TOP">boolean</TD><TD VALIGN="TOP">true</TD>

View File

@ -39,13 +39,15 @@ Name: cim-schema
Url: http://www.dmtf.org/
Summary: Common Information Model (CIM) Schema
Version: %{major}.%{minor}.%{update}
Release: 1%{?dist}
Release: 2%{?dist}
Group: Development/Libraries
License: DMTF
Source0: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-MOFs.zip
Source1: http://www.dmtf.org/standards/cim/cim_schema_v%{major}%{minor}%{update}/cim_schema_%{version}Experimental-Doc.zip
Source2: LICENSE
BuildArch: noarch
# Patch0: Fixes typo in CIM_StoragePool.mof, bz#1015983
Patch0: cim-schema-2.38.0-storage-pool-typo.patch
%package docs
Summary: Common Information Model (CIM) Schema documentation
@ -71,6 +73,7 @@ Common Information Model (CIM) schema documentation.
%prep
%setup -q -T -a 1 -c -n %{name}-docs
%setup -q -T -a 0 -c -n %{name}-%{version}
%patch0 -p1 -d .. -b .storage-pool-typo
%build
%install
@ -104,6 +107,10 @@ cp -a %{SOURCE2} $RPM_BUILD_ROOT/%{_docdir}/%{name}
%doc ../%{name}-docs/*
%changelog
* Mon Oct 07 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.38.0-2
- Fix typo in CIM_StoragePool.mof
Resolves: #1015983
* Tue Sep 03 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.38.0-1
- Update to CIM Schema 2.38.0, including experimental classes