diff --git a/.gitignore b/.gitignore index 53083fe..0378080 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /clustersos-1.1.1.tar.gz /clustersos-1.1.2.tar.gz /clustersos-1.1.3.tar.gz +/clustersos-1.2.0.tar.gz diff --git a/clustersos.spec b/clustersos.spec index ddb5f6a..b54ce4d 100644 --- a/clustersos.spec +++ b/clustersos.spec @@ -1,17 +1,18 @@ Summary: Capture sosreports from multiple nodes simultaneously Name: clustersos -Version: 1.1.3 -Release: 1%{?dist} +Version: 1.2.0 +Release: 2%{?dist} Source0: http://people.redhat.com/jhunsake/clustersos/releases/%{name}-%{version}.tar.gz License: GPLv2 BuildArch: noarch -BuildRequires: python2-devel +BuildRequires: python3-devel +BuildRequires: python3-paramiko Url: https://github.com/TurboTurtle/clustersos -Requires: python >= 2.6 +Requires: python3 >= 3.3 Requires: sos >= 3.0 Requires: python-six -Requires: python2dist(paramiko) >= 1.6 +Requires: python3dist(paramiko) >= 2.0 %description @@ -24,28 +25,33 @@ is run on the nodes. %setup -q %build -%py2_build +%py3_build %install mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 mkdir -p ${RPM_BUILD_ROOT}%{license} install -m444 ${RPM_BUILD_DIR}/%{name}-%{version}/LICENSE ${RPM_BUILD_ROOT}%{license} install -m644 ${RPM_BUILD_DIR}/%{name}-%{version}/man/en/clustersosreport.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/ -%py2_install +%py3_install %check -%{__python2} setup.py test +%{__python3} setup.py test %files %{_bindir}/clustersosreport -%{python2_sitelib}/* +%{python3_sitelib}/* %{_mandir}/man1/* %license LICENSE %changelog +* Wed Oct 11 2017 Jake Hunsaker 1.2.0-1 +- Moved to using python3 (#8) +- Made Atomic Host checks the default behavior for profiles +- Fixed error reporting from sos on nodes + * Thu Sep 14 2017 Jake Hunsaker 1.1.3-1 - Fix double enumeration of localhost if localhost is node - Split OpenShift profile from Kubernetes (#11) diff --git a/sources b/sources index e3f760f..b4f67d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (clustersos-1.1.3.tar.gz) = e60edfe9be34dac89075108db5606205306f2e1c695ebd996332eb9c613aadcfabb196afeaabc364ca7c0aa8e0554911cea9f3eb6292b60fa161ae26a72c019b +SHA512 (clustersos-1.2.0.tar.gz) = e6ba5b6cb2626674b9114e7770abd13ac4dbae6836d8d7e366f6192ca9d0711324801226dd78695a045735eed82ec38bda860dd3cfebcd7a4633892be4ac5894