diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8cb4ca4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/clustersos-1.1.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index eb27c40..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# clustersos - -The clustersos package \ No newline at end of file diff --git a/clustersos.spec b/clustersos.spec new file mode 100644 index 0000000..ee6a70d --- /dev/null +++ b/clustersos.spec @@ -0,0 +1,59 @@ + +Summary: Capture sosreports from multiple nodes simultaneously +Name: clustersos +Version: 1.1.1 +Release: 1%{?dist} +Source0: http://people.redhat.com/jhunsake/clustersos/releases/%{name}-%{version}.tar.gz +License: GPLv2 +BuildArch: noarch +BuildRequires: python2-devel +Url: https://github.com/TurboTurtle/clustersos +Requires: python >= 2.6 +Requires: sos >= 3.0 +Requires: python-six +Requires: python2dist(paramiko) >= 1.6 + + +%description +Clustersos is a utility designed to capture sosreports from multiple nodes +at once and collect them into a single archive. If the nodes are part of +a cluster, profiles can be used to configure how the sosreport command +is run on the nodes. + +%prep +%setup -q + +%build +%py2_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 + + + +%check +%{__python2} setup.py test + +%files +%{_bindir}/clustersosreport +%{python2_sitelib}/* +%{_mandir}/man1/* + +%license LICENSE + +%changelog +* Fri Jul 28 2017 Jake Hunsaker 1.1.1-1 +- Added ovirt profile +- Fixed sosreport option handling +- Improved error reporting +- Packaging aligned for distribution + +* Tue Jul 18 2017 Jake Hunsaker 1.1.0-1 +- Basic profiles now available + +* Tue Jun 20 2017 Jake Hunsaker 1.0.0-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..1d1512b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (clustersos-1.1.1.tar.gz) = e49bc9287c326abbb4f1b2bef5115df6735d6248b89c90a7f1742db2c03ad5eabe36905a3ffea85de6c9fa538efc3aa56726761eee400392f555d51e251c7c6b