[latex2rtf/el6: 2/2] Fix build in EPEL.

Jussi Lehtola jussilehtola at fedoraproject.org
Tue Oct 16 15:08:25 UTC 2012


commit 70239e4b875a917a3e114925a253a5f60e674291
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Tue Oct 16 18:08:15 2012 +0300

    Fix build in EPEL.

 latex2rtf.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/latex2rtf.spec b/latex2rtf.spec
index 93878e6..45ec045 100644
--- a/latex2rtf.spec
+++ b/latex2rtf.spec
@@ -1,6 +1,6 @@
 Name:		latex2rtf
 Version:	2.3.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	LaTeX to RTF converter that handles equations, figures, and cross-references
 Group:		Applications/File
 License:	GPLv2+
@@ -18,7 +18,6 @@ BuildRequires:		tetex-latex
 %else
 BuildRequires:		tex(latex)
 %endif
-BuildRequires:		man2html-core
 
 %if 0%{?fedora} > 18
 BuildRequires:		texlive-a4wide
@@ -27,6 +26,12 @@ BuildRequires:		texlive-helvetic
 BuildRequires:		texlive-times
 %endif
 
+%if 0%{?rhel} > 0
+BuildRequires:		man
+%else
+BuildRequires:		man2html-core
+%endif
+
 # For converting images
 Requires:		ImageMagick
 # Info file requirement
@@ -87,6 +92,9 @@ fi
 
 
 %changelog
+* Tue Oct 16 2012 Jussi Lehtola <jussilehtola at fedoraproject.org> - 2.3.0-2
+- Fixed build in EPEL.
+
 * Tue Oct 16 2012 Jussi Lehtola <jussilehtola at fedoraproject.org> - 2.3.0-1
 - Update to 2.3.0.
 


More information about the scm-commits mailing list