Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
mcelog
mcelog.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mcelog.spec of Package mcelog
# # spec file for package mcelog (Version 0.7) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: mcelog License: GPLv2+ Summary: Log Machine Check Events Version: 0.7 Release: 114.<RELEASE2> AutoReqProv: on ExclusiveArch: x86_64 Source: mcelog-%{version}.tar.gz Patch0: mcelog-0.7-newcpus-1.diff Patch1: mcelog-thermal.diff Patch2: extended_kernel_struct.patch Patch3: new_extended_kernel_struct.patch Group: System/Monitoring BuildRoot: %{_tmppath}/%{name}-%{version}-build %description mcelog retrieves machine check events from an x86-64 kernel in a cron job, decodes them, and logs them to /var/log/mcelog. A machine check event is a hardware error detected by the CPU. It should run on any x86-64 system. In addition, it allows decoding machine check kernel panic messages. Authors: -------- Andi Kleen <andi@firstfloor.org> %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build make CFLAGS="$RPM_OPT_FLAGS" %install mkdir -p $RPM_BUILD_ROOT/usr/sbin/ mkdir -p $RPM_BUILD_ROOT/etc/cron.hourly/ mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d/ cp mcelog $RPM_BUILD_ROOT/usr/sbin cp mcelog.cron $RPM_BUILD_ROOT/etc/cron.hourly/mcelog cp mcelog.8 $RPM_BUILD_ROOT/%{_mandir}/man8 cp mcelog.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/mcelog %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root,755) %{_mandir}/man8/* /usr/sbin/mcelog /etc/cron.hourly/mcelog /etc/logrotate.d/mcelog %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor