SPECS: mcelog.spec - update to 0.8pre

glen glen at pld-linux.org
Wed Oct 8 18:21:10 CEST 2008


Author: glen                         Date: Wed Oct  8 16:21:10 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 0.8pre

---- Files affected:
SPECS:
   mcelog.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/mcelog.spec
diff -u SPECS/mcelog.spec:1.7 SPECS/mcelog.spec:1.8
--- SPECS/mcelog.spec:1.7	Wed Oct  8 18:08:22 2008
+++ SPECS/mcelog.spec	Wed Oct  8 18:21:04 2008
@@ -1,13 +1,14 @@
 # $Revision$, $Date$
+%define		subver	pre
 Summary:	x86-64 Machine Check Exceptions collector and decoder
 Summary(pl.UTF-8):	Narzędzie do zbierania i dekodowania wyjątków MCE na platformie x86-64
 Name:		mcelog
-Version:	0.7
-Release:	2
+Version:	0.8
+Release:	1
 License:	GPL v2
 Group:		Applications/System
-Source0:	ftp://ftp.x86-64.org/pub/linux/tools/mcelog/%{name}-%{version}.tar.gz
-# Source0-md5:	21ba1a4d748c71c28f212ea57a7be7a1
+Source0:	ftp://ftp.x86-64.org/pub/linux/tools/mcelog/%{name}-%{version}%{subver}.tar.gz
+# Source0-md5:	97fba9e248f23f12d562b92e90ed77fc
 Source1:	%{name}.logrotate
 Patch0:		%{name}-DESTDIR.patch
 Requires:	crondaemon
@@ -15,6 +16,8 @@
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		statdir		/var/lib/misc
+
 %description
 mcelog decodes machine check events (hardware errors) on x86-64
 machines running a 64-bit Linux kernel.
@@ -44,7 +47,7 @@
 Xeon).
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{subver}
 %patch0 -p1
 
 %build
@@ -62,15 +65,19 @@
 EOF
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
+install -d $RPM_BUILD_ROOT%{statdir}
+touch $RPM_BUILD_ROOT%{statdir}/memory-errors
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES README
-%attr(755,root,root) %{_sbindir}/*
+%doc CHANGES README TODO
+%attr(755,root,root) %{_sbindir}/mcelog
 %attr(640,root,root) /etc/cron.d/mcelog
 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/mcelog
+%attr(640,root,root) %ghost %{statdir}/memory-errors
 %{_mandir}/man8/mcelog.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -79,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008/10/08 16:21:04  glen
+- update to 0.8pre
+
 Revision 1.7  2008/10/08 16:08:22  glen
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mcelog.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list