Browse Source

julia: rebuild with gfortran-8.2.0

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12031 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
b8b9b15708
1 changed files with 13 additions and 3 deletions
  1. 13 3
      j/julia/julia-vl.spec

+ 13 - 3
j/julia/julia-vl.spec

@@ -1,6 +1,6 @@
 %define pkg_name    julia
 %define pkg_version 1.0.3
-%define pkg_release 1%{?_dist_release}
+%define pkg_release 2%{?_dist_release}
 
 Summary: High-level, high-performance dynamic programming language for numerical computing
 Name:    %{pkg_name}
@@ -53,7 +53,7 @@ BuildRequires: gcc-gfortran
 BuildRequires: gmp-devel
 BuildRequires: openspecfun-devel
 BuildRequires: openlibm-devel
-BuildRequires: suitesparse-devel
+BuildRequires: blas lapack suitesparse-devel
 BuildRequires: dSFMT-devel
 BuildRequires: pcre2-devel
 BuildRequires: curl-devel
@@ -64,7 +64,7 @@ BuildRequires: libatomic
 BuildRequires: desktop-file-utils
 
 Requires: openlibm
-Requires: suitesparse
+Requires: blas lapack suitesparse
 Requires: dSFMT
 Requires: pcre2
 Requires: libssh2 mbedtls
@@ -171,6 +171,12 @@ touch doc/_build/html/en/index.html
 %install
 %{__make} %{commonopts} install DESTDIR=${RPM_BUILD_ROOT}
 
+# remove unnecessary sofiles
+pushd ${RPM_BUILD_ROOT}%{_libdir}/julia
+%{__rm} libgcc_s.so.* libgfortran.so.* libquadmath.so.*
+popd
+
+# move html files
 pushd ${RPM_BUILD_ROOT}%{_docdir}
 %{__mv} julia %{name}-%{version}
 %{__rm} -rf %{name}-%{version}/html
@@ -219,6 +225,10 @@ fi
 
 
 %changelog
+* Sat Jan 26 2019 Toshiaki Ara <ara_t@384.jp> 1.0.3-2
+- remove unnecessary sofiles
+- rebuild with gfortran-8.2.0
+
 * Sat Jan 05 2019 Toshiaki Ara <ara_t@384.jp> 1.0.3-1
 - update to 1.0.3