[pidgin-latex/el5] Fix build on EPEL5.

Susi Lehtola jussilehtola at fedoraproject.org
Thu Feb 21 10:49:44 UTC 2013


commit 8e973712913aad3ffffcd9d1c60b6a08bd6a139c
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Thu Feb 21 12:49:40 2013 +0200

    Fix build on EPEL5.

 pidgin-latex.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/pidgin-latex.spec b/pidgin-latex.spec
index b118728..aaccada 100644
--- a/pidgin-latex.spec
+++ b/pidgin-latex.spec
@@ -1,6 +1,6 @@
 Name:		pidgin-latex
 Version:	1.5.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Use LaTeX formulas in your pidgin conversations 
 Group:		Applications/Internet
 License:	GPLv2+
@@ -10,12 +10,17 @@ BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	pidgin-devel
 # Check that requires are OK
+%if 0%{?rhel} == 5
+BuildRequires:  tetex-latex
+Requires:	tetex-latex
+Requires:	pidgin
+%else
 BuildRequires:	dvipng
 BuildRequires:	tex(latex)
-
 Requires:	dvipng
 Requires:	tex(latex)
 Requires:	pidgin
+%endif
 
 %description
 The plugin looks for $$latex math$$ patterns, and replaces them by the rendered
@@ -43,6 +48,9 @@ rm -rf %{buildroot}
 %{_libdir}/pidgin/*.so
 
 %changelog
+* Thu Feb 21 2013 Susi Lehtola <jussilehtola at fedoraproject.org> - 1.5.0-2
+- Fix build in EPEL5.
+
 * Fri Feb 15 2013 Susi Lehtola <jussilehtola at fedoraproject.org> - 1.5.0-1
 - Update to 1.5.0.
 


More information about the scm-commits mailing list