commit ad1aa9fb14c2f9ce453c8b71fc83ea0d43dd55ae Author: CentOS Sources Date: Tue Nov 3 07:02:56 2020 -0500 import sassist-0.8.6-1.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..499fbbc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sassist-0.8.6.tar.gz diff --git a/.sassist.metadata b/.sassist.metadata new file mode 100644 index 0000000..dead483 --- /dev/null +++ b/.sassist.metadata @@ -0,0 +1 @@ +14435657c11cf1e9dbe5680aa3a2aaa53eb5ce1d SOURCES/sassist-0.8.6.tar.gz diff --git a/SPECS/sassist.spec b/SPECS/sassist.spec new file mode 100644 index 0000000..b6bc1d3 --- /dev/null +++ b/SPECS/sassist.spec @@ -0,0 +1,95 @@ +Name: sassist +Version: 0.8.6 +Release: 1%{?dist} +Summary: Dell SupportAssist log collector + +License: MIT +URL: http://www.dell.com/en-us/work/learn/supportassist +Source0: https://github.com/dell/sassist/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: systemd + +%if 0%{?suse_version} +Requires: supportutils +%else +Requires: sos +%endif +Requires: freeipmi +Requires: zip + +BuildArch: noarch +%{?systemd_requires} + + +%description +Dell SupportAssist log collector for Linux. + +%prep +%autosetup -p1 -n %{name}-%{version} + +%build + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_unitdir} + +install -p -m755 src/sassist.sh %{buildroot}%{_bindir} +install -p -m644 src/systemd/sassist.service %{buildroot}%{_unitdir} +install -p -m644 src/systemd/sassist-collect.service %{buildroot}%{_unitdir} +install -p -m644 src/systemd/run-media-iDRAC_NATOSC.mount %{buildroot}%{_unitdir} + +%files +%license COPYING +%{_bindir}/sassist.sh +%{_unitdir}/sassist.service +%{_unitdir}/sassist-collect.service +%{_unitdir}/run-media-iDRAC_NATOSC.mount + +%post +%systemd_post sassist.service + +%preun +%systemd_preun sassist.service + +%postun +%systemd_postun_with_restart sassist.service + +%changelog +* Tue May 26 2020 Neil Horman - 0.8.6-1 +- Update to latest upstream (bz 1821434) + +* Wed Dec 18 2019 Neil Horman - 0.8.5-4 +- Rev bump for rebuild (bz 1678863) + +* Wed Dec 18 2019 Neil Horman - 0.8.5-3 +- Revision bump for rebuild (bz 1678863) + +* Fri Mar 08 2019 Neil Horman - 0.8.5-2 +- Fix broken zip operation when socket files are present (bz 1678863) + +* Thu Nov 01 2018 Charles Rose - 0.8.5-1 +- Retain all content in zip file. Created Makefile. + +* Fri Oct 19 2018 Charles Rose - 0.8.4-1 +- PrivateTmp, better error handling, sos plugin changes + +* Fri Aug 24 2018 Charles Rose - 0.8.3-1 +- move mount point, enable all sos plugins, some cleanup + +* Mon Jun 18 2018 Charles Rose - 0.8.2-1 +- incorporate spec file suggestions from Robert-André Mauchin + +* Thu Jun 14 2018 Charles Rose - 0.8.2 +- guess paths for log collectors. fix error handling. + +* Thu Jun 14 2018 Charles Rose - 0.8.1 +- add dependency on zip. fix temp dir creation bug + +* Mon Apr 02 2018 Charles Rose - 0.8.0 +- add support for supportconfig + +* Mon Apr 02 2018 Charles Rose - 0.7.1 +- support multi-distro + +* Mon Aug 28 2017 Charles Rose - 0.7.0-1 +- first RPM release