From f9b92ca17a781bbc8c7a31a39d4fc04bd8e119fa Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Aug 20 2013 20:24:06 +0000 Subject: import rasdaemon-0.4.1-5.el7.src.rpm --- diff --git a/.rasdaemon.metadata b/.rasdaemon.metadata new file mode 100644 index 0000000..d5f8ae6 --- /dev/null +++ b/.rasdaemon.metadata @@ -0,0 +1 @@ +ec4e41e454e041b45aa4e11055577cedfa30abef SOURCES/rasdaemon-0.4.1.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/rasdaemon.spec b/SPECS/rasdaemon.spec new file mode 100644 index 0000000..4cce65f --- /dev/null +++ b/SPECS/rasdaemon.spec @@ -0,0 +1,80 @@ +Name: rasdaemon +Version: 0.4.1 +Release: 5%{?dist} +Summary: Utility to receive RAS error tracings +Group: Applications/System +License: GPLv2 +URL: https://git.fedorahosted.org/git/rasdaemon.git +Source0: http://mchehab.fedorapeople.org/%{name}-%{version}.tar.bz2 + +ExclusiveArch: %{ix86} x86_64 %{arm} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: autoconf, automake, gettext-devel, libtool, sqlite-devel +Requires: hwdata, perl-DBD-SQLite +%ifnarch %{arm} +Requires: dmidecode +%endif + +Requires(post): systemd-units +Requires(preun): systemd-units +Requires(postun): systemd-units + +%description +%{name} is a RAS (Reliability, Availability and Serviceability) logging tool. +It currently records memory errors, using the EDAC tracing events. +EDAC is drivers in the Linux kernel that handle detection of ECC errors +from memory controllers for most chipsets on i386 and x86_64 architectures. +EDAC drivers for other architectures like arm also exists. +This userspace component consists of an init script which makes sure +EDAC drivers and DIMM labels are loaded at system startup, as well as +an utility for reporting current error counts from the EDAC sysfs files. + +%prep +%setup -q + +%build +autoreconf -vfi +%configure --enable-mce --enable-aer --enable-sqlite3 +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} +install -D -p -m 0644 misc/rasdaemon.service %{buildroot}/%{_unitdir}/rasdaemon.service +install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service +rm INSTALL %{buildroot}/usr/include/*.h + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING README TODO +%{_sbindir}/rasdaemon +%{_sbindir}/ras-mc-ctl +%{_mandir}/*/* +%{_unitdir}/*.service +%{_sharedstatedir}/rasdaemon +%{_sysconfdir}/ras/dimm_labels.d + +%changelog +* Tue Aug 20 2013 Aristeu Rozanski 0.4.1-5.el7 +- Applied Jarod Wilson fixes required to pass rpmlint tests + +* Thu Aug 15 2013 Aristeu Rozanski 0.4.1-4.el7 +- Rebuild + +* Sun Jun 2 2013 Peter Robinson 0.4.1-3 +- ARM has EDMA drivers (currently supported in Calxeda highbank) + +* Tue May 28 2013 Mauro Carvalho Chehab 0.4.1-2 +- Fix the name of perl-DBD-SQLite package + +* Tue May 28 2013 Mauro Carvalho Chehab 0.4.1-1 +- Updated to version 0.4.1 with contains some bug fixes + +* Mon May 27 2013 Mauro Carvalho Chehab 0.4.0-1 +- Updated to version 0.4.0 and added support for mce, aer and sqlite3 storage + +* Mon May 20 2013 Mauro Carvalho Chehab 0.3.0-1 +- Package created +