mcelog/mcelog.spec

90 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: mcelog
Version: 176
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: https://www.mcelog.org/
## GITSOURCE git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git v114
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 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