public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pavel Hrdina <phrdina@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/osinfo-db] rawhide: osinfo-db-20260812-1
Date: Wed, 12 Aug 2026 16:48:10 GMT	[thread overview]
Message-ID: <178655329007.1.18099566927534334648.rpms-osinfo-db-ff11ff5604ef@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-12 16:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178655329007.1.18099566927534334648.rpms-osinfo-db-ff11ff5604ef@fedoraproject.org \
    --to=phrdina@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox