diff --git a/osinfo-db-20240701.tar.xz b/osinfo-db-20240701.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..4cea815dd06e65e9338a24944aebd0dce90e22b3 Binary files /dev/null and b/osinfo-db-20240701.tar.xz differ diff --git a/osinfo-db-v20240701.tar.gz b/osinfo-db-v20240701.tar.gz deleted file mode 100644 index 714ac5cd10a21a02415bde0eef536a501aa4d75c..0000000000000000000000000000000000000000 Binary files a/osinfo-db-v20240701.tar.gz and /dev/null differ diff --git a/osinfo-db.spec b/osinfo-db.spec index 41ece6d9b01a890e4220cb5169a9ea1f2f7929cf..d6f11cbf24a5951555bfbe9b421135ae811519a0 100644 --- a/osinfo-db.spec +++ b/osinfo-db.spec @@ -1,11 +1,11 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: osinfo database files Name: osinfo-db Version: 20240701 Release: %{anolis_release}%{?dist} -License: LGPLv2+ -Source0: https://gitlab.com/libosinfo/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz +License: GPL-2.0-or-later +Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz URL: http://libosinfo.org/ BuildRequires: intltool BuildRequires: osinfo-db-tools @@ -18,13 +18,12 @@ hypervisor platforms to facilitate the automated configuration and provisioning of new virtual machines %install -mkdir -p %{buildroot}/%{_datadir}/ -tar zxvf %{SOURCE0} -mv %{name}-v%{version}/data %{buildroot}/%{_datadir}/osinfo -rm -rf %{name}-v%{version} +osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} %files %dir %{_datadir}/osinfo +%{_datadir}/osinfo/VERSION +%{_datadir}/osinfo/LICENSE %{_datadir}/osinfo/datamap %{_datadir}/osinfo/device %{_datadir}/osinfo/os @@ -33,6 +32,9 @@ rm -rf %{name}-v%{version} %{_datadir}/osinfo/schema %changelog +* Wed Jun 25 2025 Yangcheng - 20240701-2 +- change source0 to fix bug + * Thu Feb 27 2025 Xiaoping Liu - 20240701-1 - update to 20240701 from 20221130