mcelog/mcelog.spec

113 lines
3.6 KiB
RPMSpec

Name: mcelog
Version: 184
Release: 1mamba
Summary: User space backend for logging machine check errors reported by the hardware to the kernel
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://mcelog.org/
Source: git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/v%{version}/mcelog-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%systemd_requires
%description
mcelog is the user space backend for logging machine check errors reported by the hardware to the kernel. The kernel does the immediate actions (like killing processes etc.) and mcelog decodes the errors and manages various other advanced error responses like offlining memory, CPUs or triggering events. In addition mcelog also handles corrected errors, by logging and accounting them.
It primarily handles machine checks and thermal events, which are reported for errors detected by the CPU.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_mandir}/man5
%makeinstall
install -D -m0644 mcelog.service %{buildroot}%{_unitdir}/mcelog.service
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%systemd_post mcelog
systemctl -q daemon-reload
:
%preun
%systemd_preun mcelog
:
%postun
%systemd_postun mcelog
:
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/mcelog
%config(noreplace) %{_sysconfdir}/mcelog/mcelog.conf
%{_sysconfdir}/mcelog/*-trigger
%{_sbindir}/mcelog
%{_unitdir}/mcelog.service
%{_mandir}/man5/mcelog.conf.5*
%{_mandir}/man5/mcelog.triggers.5*
%{_mandir}/man8/mcelog.8*
%doc LICENSE
#%doc CHANGES README README.releases TODO
%changelog
* Sat Jul 02 2022 Automatic Build System <autodist@mambasoft.it> 184-1mamba
- automatic version update by autodist
* Thu Jun 30 2022 Automatic Build System <autodist@mambasoft.it> 183-1mamba
- automatic version update by autodist
* Wed May 25 2022 Automatic Build System <autodist@mambasoft.it> 182-1mamba
- automatic version update by autodist
* Wed Apr 20 2022 Automatic Build System <autodist@mambasoft.it> 181-1mamba
- automatic version update by autodist
* Sat Dec 11 2021 Automatic Build System <autodist@mambasoft.it> 180-1mamba
- automatic version update by autodist
* Sun Oct 03 2021 Automatic Build System <autodist@mambasoft.it> 179-1mamba
- automatic version update by autodist
* Wed Jul 21 2021 Automatic Build System <autodist@mambasoft.it> 178-1mamba
- automatic version update by autodist
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 177-1mamba
- update to 177
* Sat May 01 2021 Automatic Build System <autodist@mambasoft.it> 176-1mamba
- automatic version update by autodist
* Thu Feb 11 2021 Automatic Build System <autodist@mambasoft.it> 175-1mamba
- automatic version update by autodist
* Fri Aug 25 2017 Automatic Build System <autodist@mambasoft.it> 153-1mamba
- automatic version update by autodist
* Mon Mar 13 2017 Automatic Build System <autodist@mambasoft.it> 148-1mamba
- automatic version update by autodist
* Thu Dec 29 2016 Automatic Build System <autodist@mambasoft.it> 146-1mamba
- automatic version update by autodist
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 136-1mamba
- automatic version update by autodist
* Tue Feb 09 2016 Automatic Build System <autodist@mambasoft.it> 129-1mamba
- automatic version update by autodist
* Mon Apr 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 114-1mamba
- package created using the webbuild interface