Blame SPECS/osinfo-db.spec

b64852
# -*- rpm-spec -*-
b64852
b64852
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
b64852
b64852
Summary: osinfo database files
b64852
Name: osinfo-db
b64852
Version: 20181011
b64852
Release: 8%{?dist}
b64852
License: LGPLv2+
b64852
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
b64852
Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc
b64852
URL: http://libosinfo.org/
b64852
BuildRequires: intltool
b64852
BuildRequires: osinfo-db-tools
b64852
BuildArch: noarch
b64852
Requires: hwdata
b64852
b64852
### Downstream Patches ###
b64852
Patch0001: 0001-rhel-Add-rhel-7.6-media-info.patch
b64852
Patch0002: 0002-rhel-Add-rhel-8-media-info.patch
b64852
Patch0003: 0003-install-script-Add-JeOS-support-for-rhel-8.patch
b64852
Patch0004: 0004-install-script-Add-Desktop-support-for-rhel-8.patch
b64852
Patch0005: 0005-debian-testing-upgrades-derives-from-debian-9.patch
b64852
Patch0006: 0006-fedora-Update-f29-data.patch
b64852
Patch0007: 0007-silverblue-Update-silverblue29-data.patch
b64852
Patch0008: 0008-ubuntu18.10-Update-data-after-release.patch
b64852
Patch0009: 0009-silverblue-Adjust-ostree-ref-name-for-f29.patch
b64852
b64852
%description
b64852
The osinfo database provides information about operating systems and
b64852
hypervisor platforms to facilitate the automated configuration and
b64852
provisioning of new virtual machines
b64852
b64852
%prep
b64852
%setup
b64852
for p in %patches ; do
b64852
    %__patch -p1 -i $p
b64852
done
b64852
b64852
# Remove spurious leftovers frm when applying the patches
b64852
find ../%{name}-%{version}/ -name "*.orig" -exec rm -f {} \;
b64852
b64852
# For us to be able to apply patches on top of a rebase, we:
b64852
# 1. unpack the sources
b64852
# 2. patch the sources
b64852
# 3. pack the sources in a tarball
b64852
# 4. feed the patched tarball to osinfo-db-import
b64852
%build
b64852
tar -cvJf %{PatchedSource} ../%{name}-%{version}/
b64852
b64852
%install
b64852
osinfo-db-import  --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
b64852
b64852
%files
b64852
%dir %{_datadir}/osinfo/
b64852
%{_datadir}/osinfo/VERSION
b64852
%{_datadir}/osinfo/LICENSE
b64852
%{_datadir}/osinfo/datamap
b64852
%{_datadir}/osinfo/device
b64852
%{_datadir}/osinfo/os
b64852
%{_datadir}/osinfo/platform
b64852
%{_datadir}/osinfo/install-script
b64852
%{_datadir}/osinfo/schema
b64852
b64852
%changelog
b64852
* Fri Dec 07 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-8
b64852
- Resolves: rhbz#1656917 - backport change to support Fedora 29 Silverblue
b64852
b64852
* Fri Nov 16 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-7
b64852
- Resolves: rhbz#1650197 - Fix the volume-ids of rhel8.0 entry
b64852
- Resolves: rhbz#1650459 - test-mediauris is failing because of ubuntu change
b64852
- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
b64852
b64852
* Wed Nov 14 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-6
b64852
- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
b64852
b64852
* Sat Nov 03 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-5
b64852
- Related:  rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
b64852
b64852
* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-4
b64852
- Related: rhbz#1644738 - Fix a typo in the Fedora 29 XML
b64852
b64852
* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-3
b64852
- Resolves: rhbz#1644738 - Latest released Fedora 29 support in RHEL8 instead
b64852
                           of Fedora 29 Beta
b64852
b64852
* Mon Oct 22 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-2
b64852
- Resolves: rhbz#1640458 - Debian Testing should derive-from/upgrade Debian 9
b64852
b64852
* Thu Oct 11 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-1
b64852
- Related: rhbz#1627271 - Update to 20181011 release
b64852
b64852
* Fri Sep 21 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180920-1
b64852
- Related: rhbz#1627271 - Update to 20180920 release
b64852
b64852
* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180903-1
b64852
- Related: rhbz#1627271 - Update to 20180903 release
b64852
b64852
* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180612-2
b64852
- Resolves: rhbz#1580232 - Add support to RHEL-7.6 and RHEL-8.0
b64852
b64852
* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 20180612-1
b64852
- Update to 20180612 release
b64852
b64852
* Mon Apr 16 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180416-1
b64852
- Update to new release
b64852
b64852
* Sun Mar 25 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180325-1
b64852
- Update to new release
b64852
b64852
* Sun Mar 18 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180318-1
b64852
- Update to new release
b64852
b64852
* Sun Mar 11 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180311-1
b64852
- Update to new release
b64852
b64852
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170813-2
b64852
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b64852
b64852
* Sun Aug 13 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170813-1
b64852
- Update to new release
b64852
b64852
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170423-2
b64852
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b64852
b64852
* Sun Apr 23 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170423-1
b64852
- Update to new release
b64852
b64852
* Sun Mar 26 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170326-1
b64852
- Update to new release
b64852
b64852
* Sat Feb 25 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170225-1
b64852
- Update to new release
b64852
b64852
* Sat Feb 11 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170211-1
b64852
- Update to new release
b64852
b64852
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170121-3
b64852
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b64852
b64852
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-2
b64852
- 20170121-1 used an incorrect tarball
b64852
b64852
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-1
b64852
- Update to new release
b64852
b64852
* Sat Jan 14 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170114-1
b64852
- Update to new release
b64852
b64852
* Sat Jan 07 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170107-1
b64852
- Update to new release
b64852
b64852
* Wed Oct 26 2016 Daniel P. Berrange <berrange@redhat.com> - 20161026-1
b64852
- Update to new release
b64852
b64852
* Fri Jul 29 2016 Daniel P. Berrange <berrange@redhat.com> - 20160728-1
b64852
- Initial package after split from libosinfo (rhbz #1361596)