Fixes previous build not using the patched database
Resolves: rhbz#2112406 Signed-off-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
55c7c62eb9
commit
3d973fb167
@ -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 <victortoso@redhat.com> - 20220727-3
|
||||
- Fixes previous build not using the patched database
|
||||
Resolves: rhbz#2112406
|
||||
|
||||
* Tue Aug 02 2022 Victor Toso <victortoso@redhat.com> - 20220727-2
|
||||
- Add prereleases: rhel-8.7 and rhel-9.1
|
||||
Resolves: rhbz#2112406
|
||||
|
Loading…
Reference in New Issue
Block a user