Blame SPECS/osinfo-db.spec

5c9c35
# -*- rpm-spec -*-
5c9c35
5c9c35
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
5c9c35
5c9c35
Summary: osinfo database files
5c9c35
Name: osinfo-db
b223c6
Version: 20170813
b223c6
Release: 6%{?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
b223c6
Patch0: add-rhel7.5-data.patch
b223c6
Patch1: add-fedora-27-data.patch
b223c6
Patch2: add-opensuse-42.3-and-win2k16.patch
5c9c35
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
b223c6
%patch0 -p1 -b .add-rhel7.5-data
b223c6
%patch1 -p1 -b .add-fedora-27-data
b223c6
%patch2 -p1 -b .add-opensuse-42.3-and-win2k16
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
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)