rpms/munin/devel munin-1.4.1-fontfix.patch, NONE, 1.1 munin.spec, 1.30, 1.31
Ingvar Hagelund
ingvar at fedoraproject.org
Fri Dec 11 13:53:39 UTC 2009
- Previous message (by thread): rpms/gc/devel .cvsignore, 1.11, 1.12 gc.spec, 1.42, 1.43 sources, 1.10, 1.11 gc-7.1-dont_add_byte.patch, 1.1, NONE gc-7.1-gcinit.patch, 1.1, NONE gc-7.1-sparc.patch, 1.1, NONE
- Next message (by thread): rpms/mono-bouncycastle/devel bccrypto-nopatents.patch, 1.1, 1.2 mono-bouncycastle.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ingvar
Update of /cvs/pkgs/rpms/munin/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31667
Modified Files:
munin.spec
Added Files:
munin-1.4.1-fontfix.patch
Log Message:
- More correct fedora and el versions for previous font path fix
- Added a patch that fixes a quoting bug in GraphOld.pm, fixing fonts on el4
munin-1.4.1-fontfix.patch:
GraphOld.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE munin-1.4.1-fontfix.patch ---
diff -Naur ../munin-1.4.1.orig/master/lib/Munin/Master/GraphOld.pm ./master/lib/Munin/Master/GraphOld.pm
--- ../munin-1.4.1.orig/master/lib/Munin/Master/GraphOld.pm 2009-12-04 12:13:58.000000000 +0100
+++ ./master/lib/Munin/Master/GraphOld.pm 2009-12-11 13:19:19.825500312 +0100
@@ -1099,12 +1099,12 @@
push(@complete, '--font', 'LEGEND:7:monospace');
}
else {
- push(@complete, '--font', 'LEGEND:7:$libdir/VeraMono.ttf');
+ push(@complete, '--font', "LEGEND:7:$libdir/VeraMono.ttf");
}
push(@complete,
- '--font', 'UNIT:7:$libdir/VeraMono.ttf',
- '--font', 'AXIS:7:$libdir/VeraMono.ttf');
+ '--font', "UNIT:7:$libdir/VeraMono.ttf",
+ '--font', "AXIS:7:$libdir/VeraMono.ttf");
}
push(@complete, '-W', $watermark) if $RRDs::VERSION >= 1.2;
Index: munin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/munin/devel/munin.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- munin.spec 9 Dec 2009 13:36:18 -0000 1.30
+++ munin.spec 11 Dec 2009 13:53:39 -0000 1.31
@@ -1,6 +1,6 @@
Name: munin
Version: 1.4.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Network-wide graphing framework (grapher/gatherer)
License: GPLv2 and Bitstream Vera
Group: System Environment/Daemons
@@ -11,6 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version
Source0: http://downloads.sourceforge.net/sourceforge/munin/%{name}-%{version}.tar.gz
Patch1: munin-1.4.0-config.patch
+Patch2: munin-1.4.1-fontfix.patch
Source1: munin-1.2.4-sendmail-config
Source2: munin-1.2.5-hddtemp_smartctl-config
@@ -38,7 +39,11 @@ Requires: logrotate
Requires: /bin/mail
Requires(pre): shadow-utils
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%if 0%{?rhel} > 5 || 0%{?fedora} > 6
Requires: dejavu-sans-mono-fonts
+%else
+Requires: bitstream-vera-fonts
+%endif
%description
Munin is a highly flexible and powerful solution used to create graphs of
@@ -116,6 +121,7 @@ java-plugins for munin-node.
%prep
%setup -q
%patch1 -p1
+%patch2 -p0
%build
%if 0%{?rhel} > 4 || 0%{?fedora} > 6
@@ -180,7 +186,7 @@ install -m 0644 %{SOURCE6} %{buildroot}/
# Use font from bitstream-vera-fonts-sans-mono
rm -f $RPM_BUILD_ROOT/%{_datadir}/munin/VeraMono.ttf
-%if 0%{?rhel} > 0 || 0%{?fedora} > 10
+%if 0%{?rhel} > 5 || 0%{?fedora} > 6
ln -s /usr/share/fonts/dejavu/DejaVuSansMono.ttf $RPM_BUILD_ROOT/%{_datadir}/munin/VeraMono.ttf
%else
ln -s /usr/share/fonts/bitstream-vera/VeraMono.ttf $RPM_BUILD_ROOT/%{_datadir}/munin/VeraMono.ttf
@@ -283,6 +289,10 @@ exit 0
%endif
%changelog
+* Fri Dec 11 2009 Ingvar Hagelund <ingvar at linpro.no> - 1.4.1-3
+- More correct fedora and el versions for previous font path fix
+- Added a patch that fixes a quoting bug in GraphOld.pm, fixing fonts on el4
+
* Wed Dec 09 2009 Ingvar Hagelund <ingvar at linpro.no> - 1.4.1-2
- Remove jmx plugins when not supported (like on el4 and older fedora)
- Correct font path on older distros like el5, el4 and fedora<11
- Previous message (by thread): rpms/gc/devel .cvsignore, 1.11, 1.12 gc.spec, 1.42, 1.43 sources, 1.10, 1.11 gc-7.1-dont_add_byte.patch, 1.1, NONE gc-7.1-gcinit.patch, 1.1, NONE gc-7.1-sparc.patch, 1.1, NONE
- Next message (by thread): rpms/mono-bouncycastle/devel bccrypto-nopatents.patch, 1.1, 1.2 mono-bouncycastle.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list