From 3d973fb1676d56ecadf3eae9ab1018a8197465cf Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Wed, 3 Aug 2022 13:50:17 +0200 Subject: [PATCH] Fixes previous build not using the patched database Resolves: rhbz#2112406 Signed-off-by: Victor Toso --- osinfo-db.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/osinfo-db.spec b/osinfo-db.spec index 36b17c5..65d06c4 100644 --- a/osinfo-db.spec +++ b/osinfo-db.spec @@ -6,7 +6,7 @@ Summary: osinfo database files Name: osinfo-db Version: 20220727 -Release: 2%{?dist} +Release: 3%{?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 @@ -32,7 +32,7 @@ rm -rf ../%{ExtractedSource}/.git tar -cvJf %{PatchedSource} ../%{ExtractedSource}/ %install -osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} +osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource} %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 {} + @@ -50,6 +50,10 @@ find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d - %{_datadir}/osinfo/schema %changelog +* Wed Aug 03 2022 Victor Toso - 20220727-3 +- Fixes previous build not using the patched database + Resolves: rhbz#2112406 + * Tue Aug 02 2022 Victor Toso - 20220727-2 - Add prereleases: rhel-8.7 and rhel-9.1 Resolves: rhbz#2112406