Blame SPECS/osinfo-db-tools.spec

95b8eb
# -*- rpm-spec -*-
95b8eb
95b8eb
Summary: Tools for managing the osinfo database
95b8eb
Name: osinfo-db-tools
a3bee1
Version: 1.5.0
a3bee1
Release: 4%{?dist}
95b8eb
License: GPLv2+
a3bee1
Source: https://releases.pagure.io/libosinfo/%{name}-%{version}.tar.gz
95b8eb
URL: http://libosinfo.org/
a3bee1
a3bee1
### Patches ###
a3bee1
Patch0001: 0001-import-Don-t-call-unlink-NULL.patch
a3bee1
Patch0002: 0002-export-Remove-unused-variable.patch
a3bee1
Patch0003: 0003-validate-Don-t-leak-files.patch
a3bee1
Patch0004: 0004-import-Don-t-call-unlink-NULL-in-_import_extract.patch
a3bee1
95b8eb
BuildRequires: intltool
95b8eb
BuildRequires: glib2-devel
95b8eb
BuildRequires: libxml2-devel >= 2.6.0
95b8eb
BuildRequires: libxslt-devel >= 1.0.0
95b8eb
BuildRequires: libarchive-devel
95b8eb
BuildRequires: /usr/bin/pod2man
a3bee1
BuildRequires: json-glib-devel
a3bee1
BuildRequires: python3
a3bee1
BuildRequires: python3-pytest
a3bee1
BuildRequires: python3-requests
a3bee1
Requires: gvfs
95b8eb
95b8eb
%description
95b8eb
This package provides tools for managing the osinfo database of
95b8eb
information about operating systems for use with virtualization
95b8eb
95b8eb
%prep
95b8eb
%setup -q
95b8eb
a3bee1
for p in %patches ; do
a3bee1
    %__patch -p1 -i $p
a3bee1
done
a3bee1
95b8eb
%build
95b8eb
%configure
95b8eb
%__make %{?_smp_mflags} V=1
95b8eb
a3bee1
%check
a3bee1
if ! make check
a3bee1
then
a3bee1
  cat tests/test-suite.log || true
a3bee1
  exit 1
a3bee1
fi
a3bee1
95b8eb
%install
95b8eb
%__make install DESTDIR=%{buildroot}
95b8eb
95b8eb
%find_lang %{name}
95b8eb
95b8eb
%files -f %{name}.lang
95b8eb
%doc AUTHORS ChangeLog NEWS README
95b8eb
%license COPYING
95b8eb
%{_bindir}/osinfo-db-export
95b8eb
%{_bindir}/osinfo-db-import
95b8eb
%{_bindir}/osinfo-db-path
95b8eb
%{_bindir}/osinfo-db-validate
95b8eb
%{_mandir}/man1/osinfo-db-export.1*
95b8eb
%{_mandir}/man1/osinfo-db-import.1*
95b8eb
%{_mandir}/man1/osinfo-db-path.1*
95b8eb
%{_mandir}/man1/osinfo-db-validate.1*
95b8eb
95b8eb
%changelog
a3bee1
* Wed May 22 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-4
a3bee1
- Related: rhbz#1712426 - New defects found in
a3bee1
                          osinfo-db-tools-1.5.0-2.el8
a3bee1
a3bee1
* Wed May 22 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-3
a3bee1
- Resolves: rhbz#1712426 - New defects found in
a3bee1
                           osinfo-db-tools-1.5.0-2.el8
a3bee1
a3bee1
* Mon May 20 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-2
a3bee1
- Resolves: rhbz#1681879 - osinfo-db-tools changes blocked until gating
a3bee1
                           tests are added
a3bee1
a3bee1
* Fri May 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-1
a3bee1
- Update to 1.3.0 release
a3bee1
- Resolves: rhbz#1699989 - Rebase to the latest upstream release
a3bee1
95b8eb
* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 1.2.0-1
95b8eb
- Update to 1.2.0 release
95b8eb
95b8eb
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
95b8eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
95b8eb
95b8eb
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
95b8eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
95b8eb
95b8eb
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
95b8eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
95b8eb
95b8eb
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
95b8eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
95b8eb
95b8eb
* Wed Oct 26 2016 Daniel P. Berrange <berrange@redhat.com> - 1.1.0-1
95b8eb
- Update to 1.1.0 release
95b8eb
95b8eb
* Fri Jul 29 2016 Daniel P. Berrange <berrange@redhat.com> - 1.0.0-1
95b8eb
- Initial package after split from libosinfo (rhbz #1361594)