rpms/munin/devel munin.spec,1.33,1.34
Kevin Fenzi
kevin at fedoraproject.org
Sun Jan 17 20:15:03 UTC 2010
- Previous message: rpms/weka/devel weka-3.6.2-build.xml.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 weka.spec, 1.2, 1.3
- Next message: rpms/pootle/EL-5 README.fedora, NONE, 1.1 import.log, NONE, 1.1 pootle-2.0.0-rc2-fedora-settings.patch, NONE, 1.1 pootle.conf, NONE, 1.1 pootle.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kevin
Update of /cvs/extras/rpms/munin/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2950
Modified Files:
munin.spec
Log Message:
Fix owner on state files.
Add some BuildRequires.
Make munin-node-configure only run on install, not upgrade. bug 540687
Index: munin.spec
===================================================================
RCS file: /cvs/extras/rpms/munin/devel/munin.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- munin.spec 1 Jan 2010 04:36:18 -0000 1.33
+++ munin.spec 17 Jan 2010 20:15:02 -0000 1.34
@@ -1,6 +1,6 @@
Name: munin
Version: 1.4.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Network-wide graphing framework (grapher/gatherer)
License: GPLv2 and Bitstream Vera
Group: System Environment/Daemons
@@ -24,16 +24,22 @@ BuildArchitectures: noarch
BuildRequires: perl-Module-Build
# needed for hostname for the defaut config
BuildRequires: net-tools
+BuildRequires: perl-HTML-Template
+BuildRequires: perl-Log-Log4perl
+BuildRequires: perl-Net-Server
+BuildRequires: perl-Net-SSLeay
+BuildRequires: perl-Net-SNMP
+
# java buildrequires on fedora
%if 0%{?rhel} > 4 || 0%{?fedora} > 6
BuildRequires: java-devel >= 1.6
BuildRequires: mx4j
BuildRequires: jpackage-utils
%endif
-BuildRequires: perl-Net-SNMP
Requires: %{name}-common = %{version}
-Requires: perl-Net-Server perl-Net-SNMP
+Requires: perl-Net-Server
+Requires: perl-Net-SNMP
Requires: rrdtool
Requires: logrotate
Requires: /bin/mail
@@ -205,7 +211,10 @@ exit 0
%post node
/sbin/chkconfig --add munin-node
-/usr/sbin/munin-node-configure --shell 2> /dev/null | sh >& /dev/null || :
+# Only run configure on a new install, not an upgrade.
+if [ "$1" = "1" ]; then
+ /usr/sbin/munin-node-configure --shell 2> /dev/null | sh >& /dev/null || :
+fi
%preun node
test "$1" != 0 || %{_initrddir}/munin-node stop &>/dev/null || :
@@ -240,7 +249,7 @@ exit 0
%config(noreplace) /etc/munin/munin.conf
%config(noreplace) /etc/logrotate.d/munin
%attr(-, munin, munin) %dir /var/lib/munin
-%attr(-, nobody, munin) %dir /var/lib/munin/plugin-state
+%attr(-, munin, munin) %dir /var/lib/munin/plugin-state
%attr(-, munin, munin) %dir /var/run/munin
%attr(-, munin, munin) %dir /var/log/munin
%attr(-, munin, munin) /var/www/html/munin
@@ -286,6 +295,11 @@ exit 0
%endif
%changelog
+* Sun Jan 17 2010 Kevin Fenzi <kevin at tummy.com> - 1.4.3-2
+- Fix owner on state files.
+- Add some BuildRequires.
+- Make munin-node-configure only run on install, not upgrade. bug 540687
+
* Thu Dec 31 2009 Kevin Fenzi <kevin at tummy.com> - 1.4.3-1
- Update to 1.4.3
- Previous message: rpms/weka/devel weka-3.6.2-build.xml.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 weka.spec, 1.2, 1.3
- Next message: rpms/pootle/EL-5 README.fedora, NONE, 1.1 import.log, NONE, 1.1 pootle-2.0.0-rc2-fedora-settings.patch, NONE, 1.1 pootle.conf, NONE, 1.1 pootle.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list