package created using the webbuild interface [release 114-1mamba;Mon Apr 20 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 07:01:26 +01:00
parent 2a84184c40
commit ddbb0c0660
2 changed files with 77 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# mcelog
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.

74
mcelog.spec Normal file
View File

@ -0,0 +1,74 @@
Name: mcelog
Version: 114
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://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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%config %{_sysconfdir}/mcelog/bus-error-trigger
%config %{_sysconfdir}/mcelog/cache-error-trigger
%config %{_sysconfdir}/mcelog/dimm-error-trigger
%config %{_sysconfdir}/mcelog/iomca-error-trigger
%config %{_sysconfdir}/mcelog/page-error-trigger
%config %{_sysconfdir}/mcelog/socket-memory-error-trigger
%config %{_sysconfdir}/mcelog/unknown-error-trigger
%{_sbindir}/mcelog
%{_unitdir}/mcelog.service
%{_mandir}/man5/mcelog.conf.5*
%{_mandir}/man5/mcelog.triggers.5*
%{_mandir}/man8/mcelog.8*
#%doc CHANGES README README.releases TODO
%changelog
* Mon Apr 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 114-1mamba
- package created using the webbuild interface