[munin] Move jmx_ plugin to java-plugins package - patch from Todd Zullinger <tmz at pobox.com>

Kevin Fenzi kevin at fedoraproject.org
Thu Aug 12 19:58:12 UTC 2010


commit 2982379a931b522154d1f57ea4a68df45533ed3c
Author: kevin <kevin at tummy.com>
Date:   Thu Aug 12 13:57:50 2010 -0600

    Move jmx_ plugin to java-plugins package - patch from Todd Zullinger <tmz at pobox.com>

 munin.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/munin.spec b/munin.spec
index 6528b77..cb37acb 100644
--- a/munin.spec
+++ b/munin.spec
@@ -1,6 +1,6 @@
 Name:      munin
 Version:   1.4.5
-Release:   4%{?dist}
+Release:   4%{?dist}.1
 Summary:   Network-wide graphing framework (grapher/gatherer)
 License:   GPLv2 and Bitstream Vera
 Group:     System Environment/Daemons
@@ -278,6 +278,9 @@ exit 0
 %dir /etc/munin
 %attr(-, munin, munin) %dir /var/lib/munin
 %dir %attr(-, munin, munin) /var/lib/munin/plugin-state
+%if 0%{?rhel} > 4 || 0%{?fedora} > 6
+%exclude %{_datadir}/munin/plugins/jmx_
+%endif
 %{_datadir}/munin/plugins/
 %doc %{_docdir}/%{name}-%{version}/
 %doc %{_mandir}/man5/munin-node*
@@ -296,9 +299,13 @@ exit 0
 %files java-plugins
 %defattr(-, root, root)
 %{_datadir}/java/%{name}-jmx-plugins.jar
+%{_datadir}/munin/plugins/jmx_
 %endif
 
 %changelog
+* Wed Aug 11 2010 Todd Zullinger <tmz at pobox.com> - 1.4.5-4.1
+- Move jmx_ plugin to java-plugins package
+
 * Wed Jul 07 2010 Kevin Fenzi <kevin at tummy.com> - 1.4.5-4
 - Move docs to common subpackage to make sure COPYING is installed. 
 


More information about the scm-commits mailing list