[R-lmtest/el4] conditionalize tex BR
Tom Callaway
spot at fedoraproject.org
Tue Nov 8 20:37:23 UTC 2011
commit be1c97d18be61102ec9f3cd5a318fe3e8af60f6c
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Tue Nov 8 15:37:21 2011 -0500
conditionalize tex BR
R-lmtest.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/R-lmtest.spec b/R-lmtest.spec
index 93af902..667da8b 100644
--- a/R-lmtest.spec
+++ b/R-lmtest.spec
@@ -13,7 +13,12 @@ License: GPLv2
URL: http://cran.r-project.org/web/packages/lmtest/index.html
Group: Applications/Engineering
Summary: Testing Linear Regression Models for R
-BuildRequires: R-devel, tex(latex), R-zoo
+%if 0%{?fedora} >= 9 || 0%{?rhel} >= 5
+BuildRequires: tex(latex)
+%else
+BuildRequires: tetex-latex
+%endif
+BuildRequires: R-devel, R-zoo
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: R-zoo, R-core
More information about the scm-commits
mailing list