Blame SPECS/sos-collector.spec

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