public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/osinfo-db] rawhide: osinfo-db-20260812-1
@ 2026-08-12 16:48 Pavel Hrdina
0 siblings, 0 replies; only message in thread
From: Pavel Hrdina @ 2026-08-12 16:48 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/osinfo-db
Branch : rawhide
Commit : ff11ff5604efc3c8761e4348b3d14f364ded6c6d
Author : Pavel Hrdina <phrdina@redhat.com>
Date : 2026-08-12T18:35:18+02:00
Stats : +21/-9 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/osinfo-db/c/ff11ff5604efc3c8761e4348b3d14f364ded6c6d?branch=rawhide
Log:
osinfo-db-20260812-1
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
---
diff --git a/osinfo-db.spec b/osinfo-db.spec
index 6989e11..10e0c7e 100644
--- a/osinfo-db.spec
+++ b/osinfo-db.spec
@@ -7,13 +7,16 @@
Summary: osinfo database files
Name: osinfo-db
-Version: 20251212
+Version: 20260812
Release: %autorelease
License: GPL-2.0-or-later
-Source: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
-URL: http://libosinfo.org/
-BuildRequires: intltool
+Source: https://gitlab.com/libosinfo/osinfo-db/-/releases/v%{version}/downloads/%{name}-dist-%{version}.tar.xz
+URL: https://libosinfo.org/
+BuildRequires: gettext
BuildRequires: osinfo-db-tools
+BuildRequires: make
+BuildRequires: python3-pytest
+BuildRequires: python3-lxml
BuildArch: noarch
Requires: hwdata
@@ -44,22 +47,31 @@ operating systems for use with virtualization provisioning tools
%endif
+%prep
+%autosetup
+
+%build
+%make_build
+
%install
-osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
+%make_install OSINFO_DB_TARGET="--dir %{_datadir}/osinfo"
%if 0%{?rhel}
# Remove the upstream virtio-win / spice-guest-tools drivers
find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} +
%endif
%if %{with_mingw}
-osinfo-db-import --root %{buildroot} --dir %{mingw32_datadir}/osinfo %{SOURCE0}
-osinfo-db-import --root %{buildroot} --dir %{mingw64_datadir}/osinfo %{SOURCE0}
+%make_install OSINFO_DB_TARGET="--dir %{mingw32_datadir}/osinfo"
+%make_install OSINFO_DB_TARGET="--dir %{mingw64_datadir}/osinfo"
%endif
+%check
+make check
+
%files
%dir %{_datadir}/osinfo/
+%doc %{_datadir}/osinfo/LICENSE
%{_datadir}/osinfo/VERSION
-%{_datadir}/osinfo/LICENSE
%{_datadir}/osinfo/datamap
%{_datadir}/osinfo/device
%{_datadir}/osinfo/os
diff --git a/sources b/sources
index f16fd07..0e421d0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (osinfo-db-20251212.tar.xz) = 5a87a4c637143c7f6394dfb2d8694fd256be8336f2cdd5abcd9ad395dbff3632f48acf25704f835a854d54e706ea9d97e092c786eb96448c600714e2fd707fe7
+SHA512 (osinfo-db-dist-20260812.tar.xz) = afb4a4de15a386c502445d42435b8d024aa118fee03c4895fed7a2b72fb7184b9b385b2a3d5a2c6cf6afea2c716d2283c004b27cfb9d98947fca18df7b4761e8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 16:48 [rpms/osinfo-db] rawhide: osinfo-db-20260812-1 Pavel Hrdina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox