import osinfo-db-20210202-1.el8

This commit is contained in:
CentOS Sources 2021-02-05 06:10:47 +00:00 committed by Andrew Lukoshko
parent a94a920753
commit c3807ba9fb
5 changed files with 23 additions and 40 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/osinfo-db-20200813.tar.xz
SOURCES/osinfo-db-20210202.tar.xz

View File

@ -1 +1 @@
be3815c0c09ce4009ee8c927cfffc290311cbea9 SOURCES/osinfo-db-20200813.tar.xz
3945ffd3dc828048f32721e8fe704689be6e8114 SOURCES/osinfo-db-20210202.tar.xz

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEECbnI/yI+8ROvoGo57pJsK9rMF3sFAl81HC8ACgkQ7pJsK9rM
F3sWbA/+I/97erNbPNyn1cSvykx9yWrntgB0/tGBoNjAOVTroxIER4phe5g8zbwv
KkIl/ez9nhJ55LfG9q84WnNJNRJdPOPTjauwzOGk/WNFu6Xry5WZ/Kt7JVf0UAu4
FIx2LpGCgB5IExsgVtQJuzgVO78UDvyW9jvCP/IqIiXbg30CbktTXCD2LR0wLf6v
0APvZWGFu1WjkFYuo9n3FL2WKMH/Bq2Y7fZwj7fXZWx2wDrjCcUvzusTxlk9yGvR
HeVuSdc/REUyWvMZGE43Z0TTXkOkIlFq/YSb7YZhohBX6XZQy0OhWsuaiLxdo9Wl
Pb+oudvmrkpQ50iJR4Ni7ttKOOF9mypH29iLC+tLpkw9uSppifJoxVOUFQ/q0Pyl
0iuaT0PFrMo2bLXFKPdLMtQJ6yxaHNFp0Vn27l2R3pdzeWW8+0Y2Xu7fdpP1/2ej
4ZgGg6JgUDPfsXEcsclr5WTtDxPTx6G4qmVnBd4KIO8InGuWebJZJB3qFlf3rg0M
uN9M1w+0fFRP81S9XNm8JkBaoXXICL+U0ZZodXjgSAAn2DAmCt5K4VQdBePX3uim
b1Fcw3SjtgX4TMLc6FfGIuY/Rw4ofdkBfGoDnAZ9szpOuGMFHKGvFYg5WqV1Z8L6
RMsiqjVT3MP9dal8+zQ5o+S38LqC97Ximw84k3lyDT31AQL5sWg=
=kyQ4
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEECbnI/yI+8ROvoGo57pJsK9rMF3sFAmAZtPkACgkQ7pJsK9rM
F3tJ+Q//a0v0eKWW2w7ohSavYoIz5wcCz6KDV1RXrqBVX6Xzv8otQzOGXsj/aYYc
R79Uf3eRAQJhqbo8mrui8SWhSAe2atoF3W+LP95cKjv5esoYBuaP9MN85Z4T9FlX
bkBYv+Xhn+Nj7HqZUlnWFoL5uYfJ29O/Oz+KQ1X2fpot5tBKk1RsC0iTK2WZ9w49
A2+5WANtfUlbAYdhyZN2LDJoXKhbmR5WD5YZ2BxBV14ILxVgmmNgOS4jxpH5Iar3
Tyro5jD4WdV3tjmJ7zIC+xHIBfmAFTnDa190gtk0SLLb7TV97eeOUp1AKu0mMiWW
dOTPtJXGMRqPayLrYMO+GTog9rxWZZRFLY5TX5j/bUEKfysqqVsVw5sWbZgsE09H
A2yxFpK7FFKWCzUF1ZJkiQrzjztg3hWRPHgNPWJn/WAt4xvyOth9vMgNFR8F/s9f
wp70SCdQ1e6WHf53x0EYN7qgCbXJXqXRndigEWjQoU8TEWctJnuOwPwMwOfXmQu2
Vceb3Fj4mQ5jAXUQ6xU/J/6q18ErVK862Ct1f9jMA6smoHSmEeqWW1RGiqsJbYvQ
MUmWud47b5a542FuYaNRiPy5KoJQ5y6HR8fABlM+4eGryfyGBaX59VrvOI9qfXE1
Jtn44MDKXw+0Yve38l5/7renSedNa/6oUD5cPm6e6CN4dMFLL1E=
=BDtS
-----END PGP SIGNATURE-----

View File

@ -1,16 +1,13 @@
# -*- rpm-spec -*-
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
Summary: osinfo database files
Name: osinfo-db
Version: 20200813
Version: 20210202
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/
BuildRequires: intltool
BuildRequires: osinfo-db-tools
BuildArch: noarch
@ -21,25 +18,8 @@ The osinfo database provides information about operating systems and
hypervisor platforms to facilitate the automated configuration and
provisioning of new virtual machines
%prep
%setup
# Remove spurious leftovers from when applying the patches
find ../%{name}-%{version}/ -name "*.orig" -exec rm -f {} \;
# Remove the upstream virtio-win / spice-guest-tools drivers
find ../%{name}-%{version}/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} +
# For us to be able to apply patches on top of a rebase, we:
# 1. unpack the sources
# 2. patch the sources
# 3. pack the sources in a tarball
# 4. feed the patched tarball to osinfo-db-import
%build
tar -cvJf %{PatchedSource} ../%{name}-%{version}/
%install
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
%files
%dir %{_datadir}/osinfo/
@ -53,6 +33,9 @@ osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
%{_datadir}/osinfo/schema
%changelog
* Thu Feb 04 2021 Danilo C. L. de Paula <ddepaula@redhat.com> - 20201218-3
- Resolves: rhbz#1903300 - rebase osinfo-db to latest fedora
* Thu Aug 13 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200813-1
- Update to v20200813 release
- Related: rhbz#1837756 - osinfo-db is out of date