5c9c35
# -*- rpm-spec -*-
5c9c35
5c9c35
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
5c9c35
5c9c35
Summary: osinfo database files
5c9c35
Name: osinfo-db
d24063
Version: 20200529
d24063
Release: 1%{?dist}
5c9c35
License: LGPLv2+
b223c6
Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
b223c6
Source1: /https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz.asc
5c9c35
URL: http://libosinfo.org/
5c9c35
BuildRequires: intltool
5c9c35
BuildRequires: osinfo-db-tools
5c9c35
BuildArch: noarch
5c9c35
Requires: hwdata
5c9c35
44d9d0
### Downstream Patches ###
d24063
Patch0001: 0001-rhel-7.9-Add-release-date.patch
44d9d0
5c9c35
%description
5c9c35
The osinfo database provides information about operating systems and
5c9c35
hypervisor platforms to facilitate the automated configuration and
5c9c35
provisioning of new virtual machines
5c9c35
5c9c35
%prep
5c9c35
%setup -q
44d9d0
for p in %patches ; do
44d9d0
    %__patch -p1 -i $p
44d9d0
done
5c9c35
5c9c35
# For us to be able to apply patches on top of a rebase,
5c9c35
# we:
5c9c35
# 1. unpack the sources
5c9c35
# 2. patch the sources
5c9c35
# 3. pack the sources in a tarball
5c9c35
# 4. feed the patched tarball to osinfo-db-import
5c9c35
%build
5c9c35
tar -cvJf %{PatchedSource} ../%{name}-%{version}/
5c9c35
5c9c35
%install
5c9c35
osinfo-db-import  --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
5c9c35
5c9c35
%files
5c9c35
%dir %{_datadir}/osinfo/
5c9c35
%{_datadir}/osinfo/VERSION
5c9c35
%{_datadir}/osinfo/LICENSE
5c9c35
%{_datadir}/osinfo/datamap
5c9c35
%{_datadir}/osinfo/device
5c9c35
%{_datadir}/osinfo/os
5c9c35
%{_datadir}/osinfo/platform
5c9c35
%{_datadir}/osinfo/install-script
5c9c35
%{_datadir}/osinfo/schema
5c9c35
5c9c35
%changelog
d24063
* Fri May 29 2020 Fabiano Fidêncio 
d24063
- Resolves: rhbz#1839905 - [RHEL7.9] "virt-install --os-variant rhel7.9"i
d24063
                           fails with error
d24063
- Resolves: rhbz##1840085 - Rebase to the latest upstream release
d24063
e21293
* Wed Sep 11 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190805-2
e21293
- Resolves: rhbz#1750807 - Fedora/RHEL/CentOS JeOS kickstart files for
e21293
                           unattended installation are broken
e21293
e21293
* Mon Aug 12 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190805-1
e21293
- Resolves: rhbz#1737367 - Update to latest upstream release
e21293
- Resolves: rhbz#1737369 - Add 7.8 to the osinfo-db which will be used on 7.8
e21293
44d9d0
* Tue Mar 19 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190319-2
44d9d0
- Related: rhbz#1647782 - Rebase osinfo-db to the latest version
44d9d0
44d9d0
* Tue Mar 19 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190319-1
44d9d0
- Resolves: rhbz#1647782 - Rebase osinfo-db to the latest version
44d9d0
44d9d0
* Mon Dec 17 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181214-1
44d9d0
- Resolves: rhbz#1647782 - Rebase osinfo-db to the latest version
44d9d0
44d9d0
* Fri Dec 07 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181203-2
44d9d0
- Resolves: rhbz#1656914 - backport change to support Fedora 29 Silverblue
b41804
b41804
* Thu Dec 06 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181203-1
44d9d0
- Resolves: rhbz#1647782 - Rebase osinfo-db to the latest version
44d9d0
44d9d0
* Fri Nov 16 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-1
44d9d0
- Resolves: rhbz#1647782 - Rebase osinfo-db to the latest version
b41804
af28f4
* Mon Jun 11 2018 Felipe Borges <feborges@redhat.com> - 20180531-1
af28f4
- Rebase to 20180531
af28f4
- Add RHEL 7.6
af28f4
- Resolves: rhbz#1559001, rhbz#1576376
af28f4
b223c6
* Fri Feb 02 2018 Felipe Borges <feborges@redhat.com> - 20170813-6
b223c6
- Both files inserted in the previous release were not processed.
b223c6
b223c6
* Fri Feb 02 2018 Felipe Borges <feborges@redhat.com> - 20170813-5
b223c6
- Add OpenSUSE Leap 42.3 data
b223c6
- Add Windows Server 2016 data
b223c6
- Resolves: rhbz#1496711, rhbz#1474751
b223c6
b223c6
* Mon Jan 08 2018 Felipe Borges <feborges@redhat.com> - 20170813-4
b223c6
- Add Fedora 27
b223c6
b223c6
* Wed Dec 06 2017 Felipe Borges <feborges@redhat.com> - 20170813-3
b223c6
- Fix data of RHEL 7.5
b223c6
- Resolves: rhbz#1511756
b223c6
b223c6
* Thu Oct 26 2017 Felipe Borges <feborges@redhat.com> - 20170813-2
b223c6
- Add RHEL 7.5 data
b223c6
- Resolves: #rhbz#1504600
b223c6
b223c6
* Mon Oct 16 2017 Felipe Borges <feborges@redhat.com> - 20170813-1
b223c6
 - Update source URL to Pagure
b223c6
 - Drop the rhel-7.4 data patch
b223c6
 - Update to new release
b223c6
 - Resolves: rhbz#1479731
b223c6
5c9c35
* Tue Jun 27 2017 Felipe Borges <feborges@redhat.com> - 20170423-2
5c9c35
- Make this spec file patchable
5c9c35
- Add RHEL 7.4 data
5c9c35
- Resolves: rhbz#1462641
5c9c35
5c9c35
* Tue Jun  6 2017 Fabiano Fidêncio <fidencio@redhat.com> - 20170423-1
5c9c35
- Update osinfo-db to a new release
5c9c35
- Resolves: rhbz#1456950, rhbz#1456947
5c9c35
5c9c35
* Wed May 31 2017 Felipe Borges <feborges@redhat.com> - 20170225-3
5c9c35
- Fedora/RHEL passwords must be wrapped by a single quote
5c9c35
- Resolves: rhbz#1456950
5c9c35
5c9c35
* Wed May 31 2017 Felipe Borges <feborges@redhat.com> - 20170225-2
5c9c35
- Add RHEL-6.9 and RHEL-7.3 info
5c9c35
- Resolves: rhbz#1456947
5c9c35
5c9c35
* Sat Feb 25 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170225-1
5c9c35
- Update to new release
5c9c35
5c9c35
* Sat Feb 11 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170211-1
5c9c35
- Update to new release
5c9c35
5c9c35
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170121-3
5c9c35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5c9c35
5c9c35
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-2
5c9c35
- 20170121-1 used an incorrect tarball
5c9c35
5c9c35
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-1
5c9c35
- Update to new release
5c9c35
5c9c35
* Sat Jan 14 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170114-1
5c9c35
- Update to new release
5c9c35
5c9c35
* Sat Jan 07 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170107-1
5c9c35
- Update to new release
5c9c35
5c9c35
* Wed Oct 26 2016 Daniel P. Berrange <berrange@redhat.com> - 20161026-1
5c9c35
- Update to new release
5c9c35
5c9c35
* Fri Jul 29 2016 Daniel P. Berrange <berrange@redhat.com> - 20160728-1
5c9c35
- Initial package after split from libosinfo (rhbz #1361596)