Blame SPECS/osinfo-db.spec

4c2918
# -*- rpm-spec -*-
4c2918
4c2918
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
4c2918
4c2918
Summary: osinfo database files
4c2918
Name: osinfo-db
b74e99
Version: 20200804
b74e99
Release: 2%{?dist}
4c2918
License: LGPLv2+
4c2918
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
4c2918
Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc
4c2918
URL: http://libosinfo.org/
4c2918
4c2918
### Downstream Patches ###
f4426b
Patch0001: 0001-rhel-Add-8.3-entry.patch
4c2918
4c2918
BuildRequires: intltool
4c2918
BuildRequires: osinfo-db-tools
4c2918
BuildArch: noarch
4c2918
Requires: hwdata
4c2918
4c2918
%description
4c2918
The osinfo database provides information about operating systems and
4c2918
hypervisor platforms to facilitate the automated configuration and
4c2918
provisioning of new virtual machines
4c2918
4c2918
%prep
4c2918
%setup
4c2918
for p in %patches ; do
4c2918
    %__patch -p1 -i $p
4c2918
done
4c2918
4c2918
# Remove spurious leftovers from when applying the patches
4c2918
find ../%{name}-%{version}/ -name "*.orig" -exec rm -f {} \;
4c2918
4c2918
# Remove the upstream virtio-win / spice-guest-tools drivers
4c2918
find ../%{name}-%{version}/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} +
4c2918
4c2918
# For us to be able to apply patches on top of a rebase, we:
4c2918
# 1. unpack the sources
4c2918
# 2. patch the sources
4c2918
# 3. pack the sources in a tarball
4c2918
# 4. feed the patched tarball to osinfo-db-import
4c2918
%build
4c2918
tar -cvJf %{PatchedSource} ../%{name}-%{version}/
4c2918
4c2918
%install
4c2918
osinfo-db-import  --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
4c2918
4c2918
%files
4c2918
%dir %{_datadir}/osinfo/
4c2918
%{_datadir}/osinfo/VERSION
4c2918
%{_datadir}/osinfo/LICENSE
4c2918
%{_datadir}/osinfo/datamap
4c2918
%{_datadir}/osinfo/device
4c2918
%{_datadir}/osinfo/os
4c2918
%{_datadir}/osinfo/platform
4c2918
%{_datadir}/osinfo/install-script
4c2918
%{_datadir}/osinfo/schema
4c2918
4c2918
%changelog
b74e99
* Tue Aug 04 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200804-2
b74e99
- Remove duplicated virtio1.0-fs device
b74e99
- Related: rhbz#1837756 - osinfo-db is out of date
b74e99
b74e99
* Tue Aug 04 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200804-1
b74e99
- Update to v20200804 release
b74e99
- Related: rhbz#1837756 - osinfo-db is out of date
b74e99
f4426b
* Sun May 31 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200529-1
f4426b
- Update to v20200529 release
f4426b
- Resolves: rhbz#1837756 - osinfo-db is out of date
f4426b
- Resolves: rhbz#1707119 - Provide information about UEFI support for guests (osinfo-db)
f4426b
4c2918
* Mon Feb 03 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200203-1
4c2918
- Update to v20200203 release
4c2918
- Resolves: rhbz#1780529 - Update to the latest upstream release
4c2918
4c2918
* Tue Dec 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20191125-1
4c2918
- Updated to v20191125 release
4c2918
- Resolves: rhbz#1780529 - Update to the latest upstream release
4c2918
- Add rhel8.2 & rhel7.8 entries
4c2918
- Remove upstream virtio-win / spice-guest-tools drivers
4c2918
4c2918
* Wed Jun 12 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190611-1
4c2918
- Update to v20190611 release
4c2918
- Resolves: rhbz#1699990 - Rebase to the latest upstream release
4c2918
4c2918
* Thu May 23 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190504-2
4c2918
- Add rhel-8.1 & rhel-7.7 entry
4c2918
- Resolves: rhbz#1713245 - Add rhel-8.1 and rhel-7.7 entries
4c2918
4c2918
* Fri May 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190504-1
4c2918
- Update to v20190504 release
4c2918
- Resolves: rhbz#1699990 - Rebase to the latest upstream release
4c2918
- Resolves: rhbz#1689817 - virt-manager cannot detect operating system name
4c2918
                           for rhel8.0.0 tree automatically
4c2918
- Resolves: rhbz#1703480 - rhel8.0.x is not detected as rhel8.0
4c2918
- Resolves: rhbz#1685364 - Add win2019 to libosinfo
4c2918
4c2918
* Fri Dec 07 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-8
4c2918
- Resolves: rhbz#1656917 - backport change to support Fedora 29 Silverblue
4c2918
4c2918
* Fri Nov 16 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-7
4c2918
- Resolves: rhbz#1650197 - Fix the volume-ids of rhel8.0 entry
4c2918
- Resolves: rhbz#1650459 - test-mediauris is failing because of ubuntu change
4c2918
- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
4c2918
4c2918
* Wed Nov 14 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-6
4c2918
- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
4c2918
4c2918
* Sat Nov 03 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-5
4c2918
- Related:  rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
4c2918
4c2918
* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-4
4c2918
- Related: rhbz#1644738 - Fix a typo in the Fedora 29 XML
4c2918
4c2918
* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-3
4c2918
- Resolves: rhbz#1644738 - Latest released Fedora 29 support in RHEL8 instead
4c2918
                           of Fedora 29 Beta
4c2918
4c2918
* Mon Oct 22 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-2
4c2918
- Resolves: rhbz#1640458 - Debian Testing should derive-from/upgrade Debian 9
4c2918
4c2918
* Thu Oct 11 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-1
4c2918
- Related: rhbz#1627271 - Update to 20181011 release
4c2918
4c2918
* Fri Sep 21 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180920-1
4c2918
- Related: rhbz#1627271 - Update to 20180920 release
4c2918
4c2918
* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180903-1
4c2918
- Related: rhbz#1627271 - Update to 20180903 release
4c2918
4c2918
* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180612-2
4c2918
- Resolves: rhbz#1580232 - Add support to RHEL-7.6 and RHEL-8.0
4c2918
4c2918
* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 20180612-1
4c2918
- Update to 20180612 release
4c2918
4c2918
* Mon Apr 16 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180416-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 25 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180325-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 18 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180318-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 11 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180311-1
4c2918
- Update to new release
4c2918
4c2918
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170813-2
4c2918
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4c2918
4c2918
* Sun Aug 13 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170813-1
4c2918
- Update to new release
4c2918
4c2918
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170423-2
4c2918
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4c2918
4c2918
* Sun Apr 23 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170423-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 26 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170326-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Feb 25 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170225-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Feb 11 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170211-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170121-3
4c2918
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4c2918
4c2918
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-2
4c2918
- 20170121-1 used an incorrect tarball
4c2918
4c2918
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Jan 14 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170114-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Jan 07 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170107-1
4c2918
- Update to new release
4c2918
4c2918
* Wed Oct 26 2016 Daniel P. Berrange <berrange@redhat.com> - 20161026-1
4c2918
- Update to new release
4c2918
4c2918
* Fri Jul 29 2016 Daniel P. Berrange <berrange@redhat.com> - 20160728-1
4c2918
- Initial package after split from libosinfo (rhbz #1361596)