Compare commits

...

1 Commits

Author SHA1 Message Date
Victor Toso d04bcdc10b Update to new release (v20230518) 2023-05-31 04:09:20 +00:00
4 changed files with 11 additions and 12 deletions

1
.gitignore vendored
View File

@ -57,3 +57,4 @@
/osinfo-db-20220516.tar.xz.asc
/osinfo-db-20220727.tar.xz.asc
/osinfo-db-20221130.tar.xz.asc
/osinfo-db-20230518.tar.xz.asc

2
.osinfo-db.metadata Normal file
View File

@ -0,0 +1,2 @@
3bcd3e87c3f58bf4a62e2c75644c063a82462823 osinfo-db-20230518.tar.xz
6e526d1c9e3f44aada684bfd96c255e3745a26d3 osinfo-db-20230518.tar.xz.asc

View File

@ -1,17 +1,13 @@
# -*- rpm-spec -*-
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
%define ExtractedSource %{name}-%{version}
Summary: osinfo database files
Name: osinfo-db
Version: 20221130
Version: 20230518
Release: 1%{?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
URL: http://libosinfo.org/
Patch0001: 0001-Add-prereleases-rhel-8.8-and-rhel-9.2.patch
BuildRequires: intltool
BuildRequires: git-core
BuildRequires: osinfo-db-tools
@ -26,12 +22,8 @@ provisioning of new virtual machines
%prep
%autosetup -S git_am
%build
rm -rf ../%{ExtractedSource}/.git
tar -cvJf %{PatchedSource} ../%{ExtractedSource}/
%install
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
%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 {} +
@ -49,6 +41,10 @@ find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -
%{_datadir}/osinfo/schema
%changelog
* Tue May 23 2023 Victor Toso <victortoso@redhat.com> - 20230518-1
- Update to new release (v20230518)
Resolves: rhbz#2184784
* Wed Nov 30 2022 Victor Toso <victortoso@redhat.com> - 20221130-1
- Update for new release (v20221130)
Resolves: rhbz#2135751

View File

@ -1,2 +1,2 @@
SHA512 (osinfo-db-20221130.tar.xz) = c0e7cf305d113c61e40f315521e606e73373ffa819ba059cb5ef245784fbf23e247180e8da1da366c96f1595470a870f193ed93a643675dda356b2c79f798015
SHA512 (osinfo-db-20221130.tar.xz.asc) = dbd16982de4335b4dd853b03e3a0bc08874b0e4c765f3b731cabdfbda7a4bf68de737100a18dd8f568eaca35e89c8e7938548a4079532cf5d530c0d8fb841734
SHA512 (osinfo-db-20230518.tar.xz) = 16a275c8df9df8256b117896b749b060f7b63aa59e468d968fafdb68ee8654c73cd659c6b8bf36e91a0d5892d6d83a29d98b9fc77dd1286f8f25ffca289bba4e
SHA512 (osinfo-db-20230518.tar.xz.asc) = 5441abc9c2d2ccb2c4fd629092cefea620830e7f86c92e5dad7b4b3b4dc8fe03d94ff57c90a0b7c2d462d0884cefb8e578ecce570682cd2763724fe3b67b7e14