Blame SPECS/sos-collector.spec

033352
Summary: Capture sosreports from multiple nodes simultaneously
033352
Name: sos-collector
033352
Version: 1.8
033352
Release: 2%{?dist}
033352
Source0: http://people.redhat.com/jhunsake/sos-collector/%{name}-%{version}.tar.gz
033352
License: GPLv2
033352
BuildArch: noarch
033352
Url: https://github.com/sosreport/sos-collector
033352
Requires: sos >= 3.0
033352
Obsoletes: clustersos < 1.2.2-2
033352
Provides: clustersos = %{version}-%{release}
033352
033352
Patch0: sos-collector-temp-location.patch
033352
033352
%if 0%{?rhel} == 7
033352
BuildRequires: python-devel
033352
Requires: python-futures
033352
Requires: python-six
033352
Requires: python-pexpect
033352
%else
033352
BuildRequires: python3-devel
033352
BuildRequires: python3-six
033352
BuildRequires: python3-pexpect
033352
Requires: python3-six
033352
Requires: python3-pexpect
033352
%endif
033352
033352
033352
%description
033352
sos-collector is a utility designed to capture sosreports from multiple nodes
033352
at once and collect them into a single archive. If the nodes are part of
033352
a cluster, profiles can be used to configure how the sosreport command
033352
is run on the nodes.
033352
033352
%prep
033352
%setup -q
033352
%patch0 -p1
033352
033352
%build
033352
%if 0%{?rhel} == 7
033352
%py2_build
033352
%else
033352
%py3_build
033352
%endif
033352
033352
%install
033352
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
033352
install -p -m644 man/en/sos-collector.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
033352
%if 0%{?rhel} == 7
033352
%py2_install
033352
%else
033352
%py3_install
033352
%endif
033352
033352
033352
033352
%check
033352
%if 0%{?rhel} == 7
033352
%{__python2} setup.py test
033352
%else
033352
%{__python3} setup.py test
033352
%endif
033352
033352
%files
033352
%{_bindir}/sos-collector
033352
%if 0%{?rhel} == 7
033352
%{python2_sitelib}/*
033352
%else
033352
%{python3_sitelib}/*
033352
%endif
033352
%{_mandir}/man1/*
033352
033352
%license LICENSE
033352
033352
%changelog
033352
* Tue Jan 07 2020 Jake Hunsaker <jhunsake@redhat.com> - 1.8-2
033352
- Resolves: RHBZ#1750756
033352
033352
* Mon Oct 14 2019 Jake Hunsaker <jhunsake@redhat.com> - 1.8-1
033352
- Rebase to upstream 1.8
033352
- Resolves: RHBZ#1751633
033352
033352
* Fri May 24 2019 Jake Hunsaker	<jhunsake@redhat.com> - 1.7-5
033352
- Fix local execution with pexpect
033352
- Fix list output exception
033352
033352
* Thu May 02 2019 Jake Hunsaker <jhunsake@redhat.com> - 1.7-3
033352
- Backport RHHI-V cluster profile
033352
033352
* Thu Apr 11 2019 Jake Hunsaker <jhunsake@redhat.com> - 1.7-2
033352
- Fix 'none' cluster type enablement
033352
- Update RHCOS image to RHEL 8 version
033352
- Fix execution from within a container
033352
033352
* Mon Apr 01 2019 Jake Hunsaker <jhunsake@redhat.com> - 1.7-1
033352
- New upstream release
033352
- Overhaul mechanism of execution of sosreport in containers
033352
- Added RHCOS support
033352
- Added a 'none' cluster type
033352
033352
* Tue Dec 11 2018 Jake Hunsaker <jhunsake@redhat.com> - 1.6-1
033352
- Drop paramiko dependency, use OpenSSH ControlPersist instead
033352
- Layered cluster profiles can now accept base profile options
033352
- Debian/Ubuntu hosts now supported
033352
033352
* Thu Oct 11 2018 Jake Hunsaker <jhunsake@redhat.com> - 1.5-1
033352
- New upstream release
033352
- Resolves CVE-2018-14650
033352
033352
* Fri Jun 22 2018 Jake Hunsaker <jhunsake@redhat.com> 1.4-1
033352
- New upstream release
033352
033352
* Thu May 24 2018 Jake Hunsaker <jhunsake@redhat.com> 1.3-3
033352
- Fix sos-collector archive organization
033352
- Fix cluster option validation
033352
033352
* Mon May 07 2018 Jake Hunsaker <jhunsake@redhat.com> 1.3-2
033352
- Fix collection of sosreport tarballs
033352
033352
* Fri Apr 27 2018 Jake Hunsaker <jhunsake@redhat.com> 1.3-1
033352
- Reset versioning to continue from clustersos
033352
033352
* Thu Apr 26 2018 Jake Hunsaker <jhunsake@redhat.com> 1.0-1
033352
- Renamed project to sos-collector
033352
- Moved github repo to sosreport org