[R/epel7] epel fixes
Tom Callaway
spot at fedoraproject.org
Tue Apr 29 17:17:38 UTC 2014
commit 59d7dffa3b27430bf2a25d36f178fcc61a8853bf
Author: Tom Callaway <spot at fedoraproject.org>
Date: Tue Apr 29 13:17:34 2014 -0400
epel fixes
R.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/R.spec b/R.spec
index c24eb52..9037f0c 100644
--- a/R.spec
+++ b/R.spec
@@ -29,7 +29,7 @@
Name: R
Version: 3.1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A language for data analysis and graphics
URL: http://www.r-project.org
Source0: ftp://cran.r-project.org/pub/R/src/base/R-3/R-%{version}.tar.gz
@@ -44,8 +44,12 @@ BuildRequires: libpng-devel, libjpeg-devel, readline-devel
BuildRequires: tcl-devel, tk-devel, ncurses-devel
BuildRequires: blas-devel >= 3.0, pcre-devel, zlib-devel
%if %{modern}
+%if 0%{?fedora} >= 21
BuildRequires: java-headless
%else
+BuildRequires: java-1.5.0-gcj
+%endif
+%else
BuildRequires: java-1.4.2-gcj-compat
%endif
%if %{system_tre}
@@ -205,7 +209,11 @@ environment.
Summary: R with Fedora provided Java Runtime Environment
Group: Applications/Engineering
Requires(post): R-core = %{version}-%{release}
+%if 0%{?fedora} >= 21
Requires(post): java-headless
+%else
+Requires(post): java-1.5.0-gcj
+%endif
%description java
A language and environment for statistical computing and graphics.
@@ -850,6 +858,9 @@ R CMD javareconf \
%postun -n libRmath -p /sbin/ldconfig
%changelog
+* Tue Apr 29 2014 Tom Callaway <spot at fedoraproject.org> - 3.1.0-3
+- epel fixes
+
* Fri Apr 25 2014 Tom Callaway <spot at fedoraproject.org> - 3.1.0-2
- fix core-devel Requires
More information about the scm-commits
mailing list