From 48b40a1bfb917bdbb8434e8b1fa16c5d26e69ef9 Mon Sep 17 00:00:00 2001 From: hongjinghao Date: Sat, 24 Dec 2022 15:31:38 +0800 Subject: [PATCH] sync by master (cherry picked from commit 57e7c8345608ea573f06ca71c5168ffb4722d5d3) --- openeuler-22.03.xml | 70 +++++++++++++++++++++++++++++++++++++++++++++ osinfo-db.spec | 26 +++++++++++++++-- sel-2.0.xml | 70 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+), 2 deletions(-) create mode 100644 openeuler-22.03.xml create mode 100644 sel-2.0.xml diff --git a/openeuler-22.03.xml b/openeuler-22.03.xml new file mode 100644 index 0000000..b28f336 --- /dev/null +++ b/openeuler-22.03.xml @@ -0,0 +1,70 @@ + + + + + openeuler22.03 + openEuler 22.03 + openEuler 22.03 + openEuler 22.03 + openEuler 22.03 + openEuler 22.03 + openEuler 22.03 + openEuler 22.03 + 2.0 + openEuler + openEuler + openEuler + openEuler + openEuler + openEuler + openEuler + openEuler + openEuler + openEuler + linux + openEuler + + + LINUX + openEuler-22.03-LTS-x86_64 + + isolinux/vmlinuz + isolinux/initrd.img + + + + LINUX + openEuler-22.03-LTS-aarch64 + + images/pxeboot/vmlinuz + images/pxeboot/initrd.img + + + + openEuler + 2.0 + x86_64 + + + + + openEuler + 2.0 + aarch64 + + + + + 500000000 + 536870912 + 1074151424 + + + 2400000000 + 1073741824 + 17179869184 + + + + diff --git a/osinfo-db.spec b/osinfo-db.spec index 684bea2..bef0699 100644 --- a/osinfo-db.spec +++ b/osinfo-db.spec @@ -1,11 +1,15 @@ +%global debug_package %{nil} + Name: osinfo-db Version: 20220214 Summary: osinfo database files -Release: 1 +Release: 3 License: LGPLv2+ URL: http://libosinfo.org/ Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz Source1: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz.asc +Source2: openeuler-22.03.xml +Source3: sel-2.0.xml BuildRequires: intltool osinfo-db-tools Requires: hwdata @@ -15,8 +19,19 @@ osinfo-db provides the database files for use with the libosinfo library. It provides information about guest operating systems for use with virtualization provisioning tools. +%prep +%setup -q + +%build +cd %{_builddir} +mkdir -p %{_builddir}/osinfo-db-%{version}/os/openeuler.org/ +mkdir -p %{_builddir}/osinfo-db-%{version}/os/suseeuler.net/ +cp %{SOURCE2} %{_builddir}/osinfo-db-%{version}/os/openeuler.org/ +cp %{SOURCE3} %{_builddir}/osinfo-db-%{version}/os/suseeuler.net/ +tar -cJf x.tar.xz osinfo-db-%{version} + %install -osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} +osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo "%{_builddir}/x.tar.xz" %files %{_datadir}/osinfo/datamap @@ -29,6 +44,13 @@ osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} %{_datadir}/osinfo/LICENSE %changelog +* Mon Jun 20 2022 Chenxi Mao - 20220214-3 +- Fix openEuler incorrect string +- Support SUSE Euler product + +* Tue May 31 2022 Chenxi Mao - 20220214-2 +- Support openEuler + * Thu Mar 3 2022 panxiaohe - 20220214-1 - update version to 20220214 diff --git a/sel-2.0.xml b/sel-2.0.xml new file mode 100644 index 0000000..0fbdeb2 --- /dev/null +++ b/sel-2.0.xml @@ -0,0 +1,70 @@ + + + + + sel 2.0 + SUSE Euler Linux 2.0 + SUSE Euler Linux 2.0 + SUSE Euler Linux 2.0 + SUSE Euler Linux 2.0 + SUSE Euler Linux 2.0 + SUSE Euler Linux 2.0 + SUSE Euler Linux 2.0 + 2.0 + SUSE + SUSE + SUSE + SUSE + SUSE + SUSE + SUSE + SUSE + SUSE + SUSE + linux + sel + + + LINUX + SUSE-Euler-Linux-2.0-x86_64 + + isolinux/vmlinuz + isolinux/initrd.img + + + + LINUX + SUSE-Euler-Linux-2.0-aarch64 + + images/pxeboot/vmlinuz + images/pxeboot/initrd.img + + + + SUSE Euler Linux + 2.0 + x86_64 + + + + + SUSE Euler Linux + 2.0 + aarch64 + + + + + 500000000 + 536870912 + 1074151424 + + + 2400000000 + 1073741824 + 17179869184 + + + + -- Gitee