diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8135c92 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/osinfo-db-20190611.tar.xz diff --git a/.osinfo-db.metadata b/.osinfo-db.metadata new file mode 100644 index 0000000..d64b889 --- /dev/null +++ b/.osinfo-db.metadata @@ -0,0 +1 @@ +abce45f689a58ea209afa3cf632fc67a7b2373b3 SOURCES/osinfo-db-20190611.tar.xz diff --git a/SOURCES/0001-rhel-Add-rhel-8.1.patch b/SOURCES/0001-rhel-Add-rhel-8.1.patch new file mode 100644 index 0000000..26cbed2 --- /dev/null +++ b/SOURCES/0001-rhel-Add-rhel-8.1.patch @@ -0,0 +1,240 @@ +From cfb289f3c78bee9dd7bc0fcf96dca46187ef3f68 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com> +Date: Thu, 23 May 2019 10:36:53 +0200 +Subject: [PATCH 1/2] rhel: Add rhel-8.1 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> +--- + os/redhat.com/rhel-8-unknown.xml | 22 +++--- + os/redhat.com/rhel-8.1.xml | 127 +++++++++++++++++++++++++++++++ + 2 files changed, 139 insertions(+), 12 deletions(-) + create mode 100644 os/redhat.com/rhel-8.1.xml + +diff --git a/os/redhat.com/rhel-8-unknown.xml b/os/redhat.com/rhel-8-unknown.xml +index 226a018..fcf601d 100644 +--- a/os/redhat.com/rhel-8-unknown.xml ++++ b/os/redhat.com/rhel-8-unknown.xml +@@ -18,14 +18,14 @@ + <vendor xml:lang="uk">Red Hat, Inc</vendor> + <family>linux</family> + <distro>rhel</distro> + <codename>Ootpa</codename> +- <upgrades id="http://redhat.com/rhel/8.0"/> +- <derives-from id="http://redhat.com/rhel/8.0"/> ++ <upgrades id="http://redhat.com/rhel/8.1"/> ++ <derives-from id="http://redhat.com/rhel/8.1"/> + + <media arch="x86_64"> + <iso> + <system-id>LINUX</system-id> +- <volume-id>.*RHEL-8-([1-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?.*x86_64.*</volume-id> ++ <volume-id>.*RHEL-8-([2-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?.*x86_64.*</volume-id> + </iso> + <kernel>isolinux/vmlinuz</kernel> + <initrd>isolinux/initrd.img</initrd> +@@ -34,28 +34,28 @@ + <media arch="aarch64"> + <iso> + <system-id>LINUX</system-id> +- <volume-id>RHEL-8-([1-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?.*aarch64$</volume-id> ++ <volume-id>RHEL-8-([2-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?.*aarch64$</volume-id> + </iso> + </media> + + <media arch="ppc64le"> + <iso> + <system-id>PPC</system-id> +- <volume-id>RHEL[_-]8[_-]([1-9]|[1-9][0-9])([_-]([0-9]|[1-9][0-9]))?.*ppc64le$</volume-id> ++ <volume-id>RHEL[_-]8[_-]([2-9]|[1-9][0-9])([_-]([0-9]|[1-9][0-9]))?.*ppc64le$</volume-id> + </iso> + </media> + + <media arch="s390x"> + <iso> + <system-id>LINUX</system-id> +- <volume-id>RHEL-8-([1-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?.*s390x$</volume-id> ++ <volume-id>RHEL-8-([2-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?.*s390x$</volume-id> + </iso> + </media> + + <tree arch="aarch64"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^8.([1-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?$</version> ++ <version>^8.([2-9]|[1-9][0-9])(-[0-9]|[1-9][0-9])?$</version> + <arch>aarch64</arch> + </treeinfo> + </tree> +@@ -63,7 +63,7 @@ + <tree arch="ppc64le"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^8.([1-9]|[1-9][0-9])(.([0-9]|[1-9][0-9]))?$</version> ++ <version>^8.([2-9]|[1-9][0-9])(.([0-9]|[1-9][0-9]))?$</version> + <arch>ppc64le</arch> + </treeinfo> + </tree> +@@ -71,7 +71,7 @@ + <tree arch="s390x"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^8.([1-9]|[1-9][0-9])(.([0-9]|[1-9][0-9]))?$</version> ++ <version>^8.([2-9]|[1-9][0-9])(.([0-9]|[1-9][0-9]))?$</version> + <arch>s390x</arch> + </treeinfo> + </tree> +@@ -79,7 +79,7 @@ + <tree arch="x86_64"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^8.([1-9]|[1-9][0-9])(.([0-9]|[1-9][0-9]))?$</version> ++ <version>^8.([2-9]|[1-9][0-9])(.([0-9]|[1-9][0-9]))?$</version> + <arch>x86_64</arch> + </treeinfo> + </tree> +@@ -114,4 +114,4 @@ + </recommended> + </resources> + </os> +-</libosinfo> +\ No newline at end of file ++</libosinfo> +diff --git a/os/redhat.com/rhel-8.1.xml b/os/redhat.com/rhel-8.1.xml +new file mode 100644 +index 0000000..1022cca +--- /dev/null ++++ b/os/redhat.com/rhel-8.1.xml +@@ -0,0 +1,127 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<libosinfo version="0.0.1"> ++ ++ <os id="http://redhat.com/rhel/8.1"> ++ <short-id>rhel8.1</short-id> ++ <name>Red Hat Enterprise Linux 8.1</name> ++ <version>8.1</version> ++ <vendor>Red Hat, Inc</vendor> ++ <vendor xml:lang="ca">Red Hat, Inc</vendor> ++ <vendor xml:lang="de">Red Hat, Inc</vendor> ++ <vendor xml:lang="es">Red Hat, Inc</vendor> ++ <vendor xml:lang="fr">Red Hat, Inc</vendor> ++ <vendor xml:lang="id">Red Hat, Inc</vendor> ++ <vendor xml:lang="it">Red Hat, Inc</vendor> ++ <vendor xml:lang="ja">Red Hat, Inc</vendor> ++ <vendor xml:lang="pl">Red Hat, Inc</vendor> ++ <vendor xml:lang="pt_BR">Red Hat, Inc</vendor> ++ <vendor xml:lang="uk">Red Hat, Inc</vendor> ++ <family>linux</family> ++ <distro>rhel</distro> ++ <codename>Ootpa</codename> ++ <upgrades id="http://redhat.com/rhel/8.0"/> ++ <derives-from id="http://redhat.com/rhel/8.0"/> ++ ++ <media arch="x86_64"> ++ <iso> ++ <system-id>LINUX</system-id> ++ <volume-id>RHEL-8-1-(([0-9]|[1-9][0-9])-)?BaseOS-x86_64</volume-id> ++ </iso> ++ <kernel>isolinux/vmlinuz</kernel> ++ <initrd>isolinux/initrd.img</initrd> ++ </media> ++ ++ <media arch="ppc64le"> ++ <iso> ++ <system-id>PPC</system-id> ++ <volume-id>RHEL[_-]8[_-]1[_-](([0-9]|[1-9][0-9])[_-])?BaseOS[_-]ppc64le</volume-id> ++ </iso> ++ <kernel>ppc/ppc64/vmlinuz</kernel> ++ <initrd>ppc/ppc64/initrd.img</initrd> ++ </media> ++ ++ <media arch="aarch64"> ++ <iso> ++ <system-id>LINUX</system-id> ++ <volume-id>RHEL-8-1-(([0-9]|[1-9][0-9])-)?BaseOS-aarch64</volume-id> ++ </iso> ++ </media> ++ ++ <media arch="s390x"> ++ <iso> ++ <system-id>LINUX</system-id> ++ <volume-id>RHEL-8-1-(([0-9]|[1-9][0-9])-)?BaseOS-s390x</volume-id> ++ </iso> ++ </media> ++ ++ <tree arch="aarch64"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^8.1(.([0-9]|[1-9][0-9]))?$</version> ++ <arch>aarch64</arch> ++ </treeinfo> ++ </tree> ++ ++ <tree arch="ppc64le"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^8.1(.([0-9]|[1-9][0-9]))?$</version> ++ <arch>ppc64le</arch> ++ </treeinfo> ++ </tree> ++ ++ <tree arch="s390x"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^8.1(.([0-9]|[1-9][0-9]))?$</version> ++ <arch>s390x</arch> ++ </treeinfo> ++ </tree> ++ ++ <tree arch="x86_64"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^8.1(.([0-9]|[1-9][0-9]))?$</version> ++ <arch>x86_64</arch> ++ </treeinfo> ++ </tree> ++ ++ <tree arch="aarch64"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^8.1(.([0-9]|[1-9][0-9]))?$</version> ++ <arch>aarch64</arch> ++ </treeinfo> ++ </tree> ++ ++ <resources arch="ppc64"> ++ <minimum> ++ <n-cpus>1</n-cpus> ++ <cpu>1000000000</cpu> ++ <ram>2147483648</ram> ++ <storage>10737418240</storage> ++ </minimum> ++ ++ <recommended> ++ <cpu>4000000000</cpu> ++ <ram>2147483648</ram> ++ <storage>21474836480</storage> ++ </recommended> ++ </resources> ++ ++ <resources arch="all"> ++ <minimum> ++ <n-cpus>1</n-cpus> ++ <cpu>1000000000</cpu> ++ <ram>1073741824</ram> ++ <storage>10737418240</storage> ++ </minimum> ++ ++ <recommended> ++ <cpu>1000000000</cpu> ++ <ram>1073741824</ram> ++ <storage>10737418240</storage> ++ </recommended> ++ </resources> ++ </os> ++</libosinfo> +-- +2.21.0 + diff --git a/SOURCES/0002-rhel-Add-rhel-7.7.patch b/SOURCES/0002-rhel-Add-rhel-7.7.patch new file mode 100644 index 0000000..3939bec --- /dev/null +++ b/SOURCES/0002-rhel-Add-rhel-7.7.patch @@ -0,0 +1,259 @@ +From ffcda8a251b7dd6dec51359f403da0757c2a857c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com> +Date: Thu, 23 May 2019 10:41:22 +0200 +Subject: [PATCH 2/2] rhel: Add rhel-7.7 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> +--- + os/redhat.com/rhel-7-unknown.xml | 24 +++--- + os/redhat.com/rhel-7.7.xml | 139 +++++++++++++++++++++++++++++++ + 2 files changed, 151 insertions(+), 12 deletions(-) + create mode 100644 os/redhat.com/rhel-7.7.xml + +diff --git a/os/redhat.com/rhel-7-unknown.xml b/os/redhat.com/rhel-7-unknown.xml +index 1477a1a..7256b09 100644 +--- a/os/redhat.com/rhel-7-unknown.xml ++++ b/os/redhat.com/rhel-7-unknown.xml +@@ -19,13 +19,13 @@ + <family>linux</family> + <distro>rhel</distro> + <codename>Maipo</codename> +- <upgrades id="http://redhat.com/rhel/7.6"/> +- <derives-from id="http://redhat.com/rhel/7.6"/> ++ <upgrades id="http://redhat.com/rhel/7.7"/> ++ <derives-from id="http://redhat.com/rhel/7.7"/> + + <media arch="x86_64"> + <iso> + <system-id>LINUX</system-id> +- <volume-id>.*RHEL-7.([7-9]|[1-9][0-9]).*x86_64.*</volume-id> ++ <volume-id>.*RHEL-7.([8-9]|[1-9][0-9]).*x86_64.*</volume-id> + </iso> + <kernel>isolinux/vmlinuz</kernel> + <initrd>isolinux/initrd.img</initrd> +@@ -34,35 +34,35 @@ + <media arch="aarch64"> + <iso> + <system-id>LINUX</system-id> +- <volume-id>RHEL-7.([7-9]|[1-9][0-9]).*aarch64$</volume-id> ++ <volume-id>RHEL-7.([8-9]|[1-9][0-9]).*aarch64$</volume-id> + </iso> + </media> + + <media arch="ppc64"> + <iso> + <system-id>PPC</system-id> +- <volume-id>RHEL[-_]7.([7-9]|[1-9][0-9]).*ppc64$</volume-id> ++ <volume-id>RHEL[-_]7.([8-9]|[1-9][0-9]).*ppc64$</volume-id> + </iso> + </media> + + <media arch="ppc64le"> + <iso> + <system-id>PPC</system-id> +- <volume-id>RHEL[-_]7.([7-9]|[1-9][0-9]).*ppc64le$</volume-id> ++ <volume-id>RHEL[-_]7.([8-9]|[1-9][0-9]).*ppc64le$</volume-id> + </iso> + </media> + + <media arch="s390x"> + <iso> + <system-id>LINUX</system-id> +- <volume-id>RHEL-7.([7-9]|[1-9][0-9]).*s390x$</volume-id> ++ <volume-id>RHEL-7.([8-9]|[1-9][0-9]).*s390x$</volume-id> + </iso> + </media> + + <tree arch="ppc64"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^7.([7-9]|[1-9][0-9])$</version> ++ <version>^7.([8-9]|[1-9][0-9])$</version> + <arch>ppc64</arch> + </treeinfo> + </tree> +@@ -70,7 +70,7 @@ + <tree arch="ppc64le"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^7.([7-9]|[1-9][0-9])$</version> ++ <version>^7.([8-9]|[1-9][0-9])$</version> + <arch>ppc64le</arch> + </treeinfo> + </tree> +@@ -78,7 +78,7 @@ + <tree arch="s390x"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^7.([7-9]|[1-9][0-9])$</version> ++ <version>^7.([8-9]|[1-9][0-9])$</version> + <arch>s390x</arch> + </treeinfo> + </tree> +@@ -86,7 +86,7 @@ + <tree arch="x86_64"> + <treeinfo> + <family>Red Hat Enterprise Linux</family> +- <version>^7.([7-9]|[1-9][0-9])$</version> ++ <version>^7.([8-9]|[1-9][0-9])$</version> + <arch>x86_64</arch> + </treeinfo> + </tree> +@@ -134,4 +134,4 @@ + <script id='http://redhat.com/rhel/kickstart/desktop'/> + </installer> + </os> +-</libosinfo> +\ No newline at end of file ++</libosinfo> +diff --git a/os/redhat.com/rhel-7.7.xml b/os/redhat.com/rhel-7.7.xml +new file mode 100644 +index 0000000..c140542 +--- /dev/null ++++ b/os/redhat.com/rhel-7.7.xml +@@ -0,0 +1,139 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<libosinfo version="0.0.1"> ++ ++ <os id="http://redhat.com/rhel/7.7"> ++ <short-id>rhel7.7</short-id> ++ <name>Red Hat Enterprise Linux 7.7</name> ++ <version>7.7</version> ++ <vendor>Red Hat, Inc</vendor> ++ <vendor xml:lang="ca">Red Hat, Inc</vendor> ++ <vendor xml:lang="de">Red Hat, Inc</vendor> ++ <vendor xml:lang="es">Red Hat, Inc</vendor> ++ <vendor xml:lang="fr">Red Hat, Inc</vendor> ++ <vendor xml:lang="id">Red Hat, Inc</vendor> ++ <vendor xml:lang="it">Red Hat, Inc</vendor> ++ <vendor xml:lang="ja">Red Hat, Inc</vendor> ++ <vendor xml:lang="pl">Red Hat, Inc</vendor> ++ <vendor xml:lang="pt_BR">Red Hat, Inc</vendor> ++ <vendor xml:lang="uk">Red Hat, Inc</vendor> ++ <family>linux</family> ++ <distro>rhel</distro> ++ <codename>Maipo</codename> ++ <upgrades id="http://redhat.com/rhel/7.6"/> ++ <derives-from id="http://redhat.com/rhel/7.6"/> ++ ++ <release-date>2018-10-30</release-date> ++ ++ <media arch="x86_64"> ++ <iso> ++ <system-id>LINUX</system-id> ++ <volume-id>.*RHEL-7.7.*x86_64.*</volume-id> ++ </iso> ++ <kernel>isolinux/vmlinuz</kernel> ++ <initrd>isolinux/initrd.img</initrd> ++ </media> ++ ++ <media arch="aarch64"> ++ <iso> ++ <system-id>LINUX</system-id> ++ <volume-id>RHEL-7.7.*aarch64$</volume-id> ++ </iso> ++ </media> ++ ++ <media arch="ppc64"> ++ <iso> ++ <system-id>PPC</system-id> ++ <volume-id>RHEL[-_]7.7.*ppc64$</volume-id> ++ </iso> ++ </media> ++ ++ <media arch="ppc64le"> ++ <iso> ++ <system-id>PPC</system-id> ++ <volume-id>RHEL[-_]7.7.*ppc64le$</volume-id> ++ </iso> ++ </media> ++ ++ <media arch="s390x"> ++ <iso> ++ <system-id>LINUX</system-id> ++ <volume-id>RHEL-7.7.*s390x$</volume-id> ++ </iso> ++ </media> ++ ++ <tree arch="ppc64"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^7.7$</version> ++ <arch>ppc64</arch> ++ </treeinfo> ++ </tree> ++ ++ <tree arch="ppc64le"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^7.7$</version> ++ <arch>ppc64le</arch> ++ </treeinfo> ++ </tree> ++ ++ <tree arch="s390x"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^7.7$</version> ++ <arch>s390x</arch> ++ </treeinfo> ++ </tree> ++ ++ <tree arch="x86_64"> ++ <treeinfo> ++ <family>Red Hat Enterprise Linux</family> ++ <version>^7.7$</version> ++ <arch>x86_64</arch> ++ </treeinfo> ++ </tree> ++ ++ <resources arch="ppc64"> ++ <minimum> ++ <n-cpus>1</n-cpus> ++ <cpu>1000000000</cpu> ++ <ram>2147483648</ram> ++ <storage>10737418240</storage> ++ </minimum> ++ ++ <recommended> ++ <cpu>4000000000</cpu> ++ <ram>2147483648</ram> ++ <storage>21474836480</storage> ++ </recommended> ++ </resources> ++ ++ <resources arch="all"> ++ <minimum> ++ <n-cpus>1</n-cpus> ++ <cpu>1000000000</cpu> ++ <ram>1073741824</ram> ++ <storage>10737418240</storage> ++ </minimum> ++ ++ <recommended> ++ <cpu>1000000000</cpu> ++ <ram>1073741824</ram> ++ <storage>10737418240</storage> ++ </recommended> ++ ++ <maximum> ++ <ram>13194139533312</ram> ++ </maximum> ++ ++ <network-install> ++ <ram>1610612736</ram> ++ </network-install> ++ </resources> ++ ++ <installer> ++ <script id='http://redhat.com/rhel/kickstart/jeos'/> ++ <script id='http://redhat.com/rhel/kickstart/desktop'/> ++ </installer> ++ </os> ++</libosinfo> +-- +2.21.0 + diff --git a/SOURCES/osinfo-db-20190611.tar.xz.asc b/SOURCES/osinfo-db-20190611.tar.xz.asc new file mode 100644 index 0000000..6df1f68 --- /dev/null +++ b/SOURCES/osinfo-db-20190611.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEECbnI/yI+8ROvoGo57pJsK9rMF3sFAlz/o8gACgkQ7pJsK9rM +F3u0lxAAvPfT4OsLaRKprmckJ0UArEmE1ki4mB83KrU3q9ctxitA0tnNHTNlnJ83 +nHNNVjEkDrGH27cstzXT0zRxzGR2z4xyxPRSGwHTmzmT24Tf+RRuYKmqOrYXeaYL +fAdn3TvhlLZxglutBWZowWJesaGAnpht74uIJZx62ZtsKrzNQfnhOJmIE8+FWs6f +WRUWSAwq9wtHVlje0mDl2ak99GOXDoxcsW4cbEHm0nWGFvo3BsbCdd7ioFesFzet +ELG/vDSi6jxbk/93OE3KTn4VAz2FHsc2o8trtbzy1a/kPcic85Q7JqeLBnWCgBwQ +8u5fRlOyH3Zt8JfDO8OVy9tTULo4HXPnoCrgKHEVuI2tnaBdROS0FmKOfLyw/+Ql +Oqbf/YiEMoSQ38cdMdgXb3F5Z45eSrIscQjqabYi71NUtzlCHPh8qJ/4o0XJqgNp +yOT3j/9PTxig7hngPpXugyaeiqutGpyUk2n+whbUwOT8IFZhAQ4cSpv0OMqB6hqx +c6rQRMYHYuk79krZV1SUrpH0cZT+OvemYX//Uu96NbYezi3N/2WPkqxfEK6GhnKV +5MUcP6HXO/7XwrPxjQjmMFeC6FBgGOZ/XbtxUjvpIs3vzZNjBYTHvQligIbwb6V5 +rDAGycEJjzguQVG9XuA6ecTOrikz5UPG8CxZfbMHN4pJd5Usmhk= +=A1Os +-----END PGP SIGNATURE----- diff --git a/SPECS/osinfo-db.spec b/SPECS/osinfo-db.spec new file mode 100644 index 0000000..d0c6547 --- /dev/null +++ b/SPECS/osinfo-db.spec @@ -0,0 +1,167 @@ +# -*- rpm-spec -*- + +%define PatchedSource ../%{name}-%{version}-patched.tar.xz + +Summary: osinfo database files +Name: osinfo-db +Version: 20190611 +Release: 1%{?dist} +License: LGPLv2+ +Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz +Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc +URL: http://libosinfo.org/ + +### Downstream Patches ### +Patch0001: 0001-rhel-Add-rhel-8.1.patch +Patch0002: 0002-rhel-Add-rhel-7.7.patch + +BuildRequires: intltool +BuildRequires: osinfo-db-tools +BuildArch: noarch +Requires: hwdata + +%description +The osinfo database provides information about operating systems and +hypervisor platforms to facilitate the automated configuration and +provisioning of new virtual machines + +%prep +%setup +for p in %patches ; do + %__patch -p1 -i $p +done + +# Remove spurious leftovers from when applying the patches +find ../%{name}-%{version}/ -name "*.orig" -exec rm -f {} \; + +# For us to be able to apply patches on top of a rebase, we: +# 1. unpack the sources +# 2. patch the sources +# 3. pack the sources in a tarball +# 4. feed the patched tarball to osinfo-db-import +%build +tar -cvJf %{PatchedSource} ../%{name}-%{version}/ + +%install +osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource} + +%files +%dir %{_datadir}/osinfo/ +%{_datadir}/osinfo/VERSION +%{_datadir}/osinfo/LICENSE +%{_datadir}/osinfo/datamap +%{_datadir}/osinfo/device +%{_datadir}/osinfo/os +%{_datadir}/osinfo/platform +%{_datadir}/osinfo/install-script +%{_datadir}/osinfo/schema + +%changelog +* Wed Jun 12 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190611-1 +- Update to v20190611 release +- Resolves: rhbz#1699990 - Rebase to the latest upstream release + +* Thu May 23 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190504-2 +- Add rhel-8.1 & rhel-7.7 entry +- Resolves: rhbz#1713245 - Add rhel-8.1 and rhel-7.7 entries + +* Fri May 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190504-1 +- Update to v20190504 release +- Resolves: rhbz#1699990 - Rebase to the latest upstream release +- Resolves: rhbz#1689817 - virt-manager cannot detect operating system name + for rhel8.0.0 tree automatically +- Resolves: rhbz#1703480 - rhel8.0.x is not detected as rhel8.0 +- Resolves: rhbz#1685364 - Add win2019 to libosinfo + +* Fri Dec 07 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-8 +- Resolves: rhbz#1656917 - backport change to support Fedora 29 Silverblue + +* Fri Nov 16 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-7 +- Resolves: rhbz#1650197 - Fix the volume-ids of rhel8.0 entry +- Resolves: rhbz#1650459 - test-mediauris is failing because of ubuntu change +- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0 + +* Wed Nov 14 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-6 +- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0 + +* Sat Nov 03 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-5 +- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0 + +* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-4 +- Related: rhbz#1644738 - Fix a typo in the Fedora 29 XML + +* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-3 +- Resolves: rhbz#1644738 - Latest released Fedora 29 support in RHEL8 instead + of Fedora 29 Beta + +* Mon Oct 22 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-2 +- Resolves: rhbz#1640458 - Debian Testing should derive-from/upgrade Debian 9 + +* Thu Oct 11 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-1 +- Related: rhbz#1627271 - Update to 20181011 release + +* Fri Sep 21 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180920-1 +- Related: rhbz#1627271 - Update to 20180920 release + +* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180903-1 +- Related: rhbz#1627271 - Update to 20180903 release + +* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180612-2 +- Resolves: rhbz#1580232 - Add support to RHEL-7.6 and RHEL-8.0 + +* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 20180612-1 +- Update to 20180612 release + +* Mon Apr 16 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180416-1 +- Update to new release + +* Sun Mar 25 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180325-1 +- Update to new release + +* Sun Mar 18 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180318-1 +- Update to new release + +* Sun Mar 11 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180311-1 +- Update to new release + +* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170813-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Aug 13 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170813-1 +- Update to new release + +* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170423-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Apr 23 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170423-1 +- Update to new release + +* Sun Mar 26 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170326-1 +- Update to new release + +* Sat Feb 25 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170225-1 +- Update to new release + +* Sat Feb 11 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170211-1 +- Update to new release + +* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170121-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-2 +- 20170121-1 used an incorrect tarball + +* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-1 +- Update to new release + +* Sat Jan 14 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170114-1 +- Update to new release + +* Sat Jan 07 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170107-1 +- Update to new release + +* Wed Oct 26 2016 Daniel P. Berrange <berrange@redhat.com> - 20161026-1 +- Update to new release + +* Fri Jul 29 2016 Daniel P. Berrange <berrange@redhat.com> - 20160728-1 +- Initial package after split from libosinfo (rhbz #1361596)