File add-opensuse-leap-42.2-support.patch of Package libosinfo.4159

Index: libosinfo-0.2.12/data/oses/opensuse.xml.in
===================================================================
--- libosinfo-0.2.12.orig/data/oses/opensuse.xml.in
+++ libosinfo-0.2.12/data/oses/opensuse.xml.in
@@ -505,6 +505,50 @@
     </media>
   </os>
 
+  <os id="http://opensuse.org/opensuse/42.2">
+    <short-id>opensuse42.2</short-id>
+    <_name>openSUSE Leap 42.2</_name>
+    <version>42.2</version>
+    <_vendor>openSUSE</_vendor>
+    <family>linux</family>
+    <distro>opensuse</distro>
+    <upgrades id="http://opensuse.org/opensuse/42.1" />
+    <derives-from id="http://opensuse.org/opensuse/42.1" />
+
+    <release-date>2016-11-16</release-date>
+    <eol-date>2018-05-16</eol-date>
+
+    <media arch="x86_64">
+      <url>http://download.opensuse.org/distribution/leap/42.2/iso/openSUSE-Leap-42.2-DVD-x86_64.iso</url>
+      <iso>
+        <volume-id>openSUSE-Leap-42.2-DVD-x86_64*</volume-id>
+        <system-id>LINUX</system-id>
+        <publisher-id>SUSE LINUX GmbH</publisher-id>
+      </iso>
+      <kernel>boot/x86_64/loader/linux</kernel>
+      <initrd>boot/x86_64/loader/initrd</initrd>
+    </media>
+
+    <installer>
+      <script id='http://opensuse.org/opensuse/autoyast/jeos'/>
+      <script id='http://opensuse.org/opensuse/autoyast/desktop'/>
+    </installer>
+
+    <resources arch="all">
+      <minimum>
+        <cpu>1600000000</cpu>
+        <n-cpus>1</n-cpus>
+        <ram>1073741824</ram>
+        <storage>3221225472</storage>
+      </minimum>
+      <recommended>
+        <cpu>2400000000</cpu>
+        <ram>2147483648</ram>
+        <storage>17179869184</storage>
+      </recommended>
+    </resources>
+  </os>
+
   <!-- Generic entry for future openSUSE releases. Please update the
        'upgrades', 'derives-from', 'volume-id' and 'resources' nodes
        accordingly each time you add a new (specific) entry for a new
@@ -516,8 +560,8 @@
     <_vendor>openSUSE</_vendor>
     <family>linux</family>
     <distro>opensuse</distro>
-    <upgrades id="http://opensuse.org/opensuse/42.1" />
-    <derives-from id="http://opensuse.org/opensuse/42.1" />
+    <upgrades id="http://opensuse.org/opensuse/42.2" />
+    <derives-from id="http://opensuse.org/opensuse/42.2" />
     <release-status>prerelease</release-status>
 
     <media arch="i686">
@@ -562,8 +606,8 @@
     <_vendor>openSUSE</_vendor>
     <family>linux</family>
     <distro>opensuse</distro>
-    <upgrades id="http://opensuse.org/opensuse/42.1" />
-    <derives-from id="http://opensuse.org/opensuse/42.1" />
+    <upgrades id="http://opensuse.org/opensuse/42.2" />
+    <derives-from id="http://opensuse.org/opensuse/42.2" />
     <release-status>snapshot</release-status>
 
     <media arch="i686">