[packages/munin] - suggests instead of hard requires for perl-DBD-Pg in munin-node - fix systemd post in munin-node -
baggins
baggins at pld-linux.org
Mon Aug 19 13:13:31 CEST 2013
commit 3d2d247150f04c72e02c65c22a5e43f1d8e95f59
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Aug 19 13:12:52 2013 +0200
- suggests instead of hard requires for perl-DBD-Pg in munin-node
- fix systemd post in munin-node
- rel 4
munin.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/munin.spec b/munin.spec
index 0f9414a..c2aa0a9 100644
--- a/munin.spec
+++ b/munin.spec
@@ -10,7 +10,7 @@ Summary: Munin - the Linpro RRD data agent
Summary(pl.UTF-8): Munin - agent danych RRD Linpro
Name: munin
Version: 2.0.17
-Release: 3
+Release: 4
License: GPL
Group: Applications/WWW
Source0: http://downloads.sourceforge.net/munin/%{name}-%{version}.tar.gz
@@ -56,6 +56,8 @@ Conflicts: logrotate < 3.8.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _noautoreq_perl DBD::Pg
+
%define _sysconfdir /etc/%{name}
%define _webapps /etc/webapps
%define _webapp %{name}
@@ -110,6 +112,7 @@ Requires: procps >= 2.0.7
Requires: rc-scripts >= 0.4.0.15
Requires: systemd-units >= 38
Requires: sysstat
+Suggests: perl-DBD-Pg
Conflicts: logrotate < 3.7-4
%description node
@@ -225,7 +228,7 @@ fi
%service munin-node restart "Munin Node agent"
%service munin-asyncd try-restart "Munin Asyncd agent"
%systemd_post munin-node.service
-%systemd_restart munin-asyncd.service
+%systemd_service_restart munin-asyncd.service
%preun node
if [ "$1" = "0" ] ; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/munin.git/commitdiff/3d2d247150f04c72e02c65c22a5e43f1d8e95f59
More information about the pld-cvs-commit
mailing list