[pgfouine] - Update spec, to fix font issue. Patch by Paul Flo Williams. Per bz #477439

Devrim GÜNDÜZ devrim at fedoraproject.org
Wed May 11 18:58:16 UTC 2011


commit 3426b3b58583862801f67523fcb1596003ff44df
Author: Devrim GÜNDÜZ <devrim at gunduz.org>
Date:   Wed May 11 21:57:29 2011 +0300

    - Update spec, to fix font issue. Patch by Paul Flo Williams. Per bz #477439

 pgfouine.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/pgfouine.spec b/pgfouine.spec
index 65ab044..788231f 100644
--- a/pgfouine.spec
+++ b/pgfouine.spec
@@ -1,7 +1,7 @@
 Summary:	PgFouine PostgreSQL log analyzer
 Name:		pgfouine
 Version:	1.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 BuildArch:	noarch
 License:	GPLv2+
 Group:		Development/Tools
@@ -9,6 +9,7 @@ Source0:	http://pgfoundry.org/frs/download.php/2575/%{name}-%{version}.tar.gz
 Source2:	pgfouine-tutorial.txt
 URL: 		http://pgfouine.projects.postgresql.org
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:	dejavu-sans-fonts
 
 Patch1:		pgfouine-0.7-include_path.patch
 
@@ -32,6 +33,10 @@ sed -i 's!@INCLUDEPATH@!%{_datadir}/%{name}!' pgfouine.php
 
 cp %{SOURCE2} .
 
+# scrub local copy of DejaVu and link to system copy
+rm -rf include/reporting/artichow/font/*
+ln -sf /usr/share/fonts/dejavu/DejaVuSans.ttf include/reporting/artichow/font/
+
 %build
 
 %install
@@ -61,6 +66,9 @@ rm -rf %{buildroot}
 %{_datadir}/%{name}
 
 %changelog
+* Wed May 11 2011 Devrim Gunduz <devrim at gunduz.org> - 1.2-2
+- Update spec, to fix font issue. Patch by Paul Flo Williams. Per bz #477439
+
 * Thu Feb 25 2010 Devrim Gunduz <devrim at gunduz.org> - 1.2-1
 - Update to 1.2
 


More information about the scm-commits mailing list