SPECS: mcelog.spec - add FHS.patch; rel 3
glen
glen at pld-linux.org
Mon Apr 6 12:00:17 CEST 2009
Author: glen Date: Mon Apr 6 10:00:17 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add FHS.patch; rel 3
---- Files affected:
SPECS:
mcelog.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/mcelog.spec
diff -u SPECS/mcelog.spec:1.10 SPECS/mcelog.spec:1.11
--- SPECS/mcelog.spec:1.10 Thu Apr 2 09:03:17 2009
+++ SPECS/mcelog.spec Mon Apr 6 12:00:12 2009
@@ -1,16 +1,18 @@
# $Revision$, $Date$
%define subver pre
+%define rel 3
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.8
-Release: 0.%{subver}.2
+Release: 0.%{subver}.%{rel}
License: GPL v2
Group: Applications/System
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
+Patch1: %{name}-FHS.patch
Requires: crondaemon
Requires: logrotate
ExclusiveArch: %{ix86} %{x8664}
@@ -49,6 +51,7 @@
%prep
%setup -q -n %{name}-%{version}%{subver}
%patch0 -p1
+%patch1 -p1
%build
%{__make} \
@@ -61,7 +64,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
cat <<'EOF' > $RPM_BUILD_ROOT/etc/cron.d/%{name}
-0 * * * * root /usr/sbin/mcelog --ignorenodev --filter >> /var/log/mcelog
+0 * * * * root %{_sbindir}/mcelog --ignorenodev --filter >> /var/log/mcelog
EOF
install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
@@ -86,6 +89,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2009/04/06 10:00:12 glen
+- add FHS.patch; rel 3
+
Revision 1.10 2009/04/02 07:03:17 arekm
- rel .2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mcelog.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list