[logcheck/el5/master] fix build for epel5
Matthias Runge
mrunge at fedoraproject.org
Fri Sep 10 20:17:27 UTC 2010
commit 5bb2c1880efa52e88a7aa87d58d9cf0755bb520c
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Fri Sep 10 22:16:34 2010 +0200
fix build for epel5
logcheck.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/logcheck.spec b/logcheck.spec
index 0b6dad7..5d408d4 100644
--- a/logcheck.spec
+++ b/logcheck.spec
@@ -1,6 +1,6 @@
Name: logcheck
Version: 1.3.13
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Analyzes log files and sends noticeable events as email
License: GPLv2
@@ -61,7 +61,7 @@ rm -f %{buildroot}%{_mandir}/man8/manpage.*
%{__install} -pm 644 debian/%{name}.cron.d %{buildroot}%{_sysconfdir}/cron.d/%{name}
%{__mkdir} -pm 755 %{buildroot}%{_localstatedir}/lock/%{name}
# create homedir for logcheck-user
-%{__mkdir} -pm 644 %{buildroot}%{_sharedstatedir}/%{name}
+%{__mkdir} -pm 644 %{buildroot}/var/lib/%{name}
%clean
rm -rf %{buildroot}
@@ -102,6 +102,9 @@ exit 0
%changelog
+* Fri Sep 10 2010 Matthias Runge <mrunge at matthias-runge.de> 1.3.13-2
+- fix build on epel5, since _sharedstatedir expands to _prefix/com
+
* Mon Sep 6 2010 Matthias Runge <mrunge at matthias-runge.de> 1.3.13-1
- update to 1.3.13
- make permissions fit to fedora-packaging guidelines
More information about the scm-commits
mailing list