forked from pool/julia
- Update rpmlintrc to ignore some warnings
- Fix dangling symlinks errors OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=190
This commit is contained in:
parent
1844eac72b
commit
733984b498
@ -10,3 +10,9 @@ addFilter("W: hidden-file-or-dir /usr/share/julia/stdlib/v1.9/Pkg/test/test_pack
|
|||||||
# it is dlopened
|
# it is dlopened
|
||||||
addFilter("explicit-lib-dependency")
|
addFilter("explicit-lib-dependency")
|
||||||
addFilter("devel-dependency")
|
addFilter("devel-dependency")
|
||||||
|
# Update alternatives does provide the binary
|
||||||
|
addFilter("W: desktopfile-without-binary /usr/share/applications/julia.desktop julia")
|
||||||
|
# We should not touch these
|
||||||
|
addFilter("W: hidden-file-or-dir /usr/share/julia/base/JuliaSyntax/.mailmap")
|
||||||
|
addFilter("W: hidden-file-or-dir /usr/share/julia/stdlib/v1.10/Pkg/test/test_packages/AugmentedPlatform/.pkg")
|
||||||
|
addFilter("W: hidden-file-or-dir /usr/share/julia/stdlib/v1.10/Pkg/test/test_packages/AugmentedPlatform/.pkg")
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 18 11:34:00 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||||
|
|
||||||
|
- Update rpmlintrc to ignore some warnings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 18 11:26:17 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||||
|
|
||||||
|
- Fix dangling symlinks errors
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 18 00:32:29 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
Sat May 18 00:32:29 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||||
|
|
||||||
|
@ -342,7 +342,7 @@ ln -sf %{_libdir}/libgcc_s.so.1 %{_builddir}/%{buildsubdir}/build/%{_libdir}/lib
|
|||||||
ln -sf %{_libdir}/libgfortran.so.5 %{_builddir}/%{buildsubdir}/build/%{_libdir}/libgfortran.so.5
|
ln -sf %{_libdir}/libgfortran.so.5 %{_builddir}/%{buildsubdir}/build/%{_libdir}/libgfortran.so.5
|
||||||
|
|
||||||
# Idk how it can't find libblastrampoline?
|
# Idk how it can't find libblastrampoline?
|
||||||
ln -sf %{_libdir}/libblastrampoline.so %{_builddir}/%{buildsubdir}/build/%{_libdir}/libblastrampoline.so
|
ln -sf %{_libdir}/libblastrampoline.so.5 %{_builddir}/%{buildsubdir}/build/%{_libdir}/libblastrampoline.so.5
|
||||||
|
|
||||||
export LD_LIBRARY_PATH="%{_builddir}/%{buildsubdir}/build/usr/lib:%{_builddir}/%{buildsubdir}/build%{_libdir}:/usr/lib64:/usr/lib"
|
export LD_LIBRARY_PATH="%{_builddir}/%{buildsubdir}/build/usr/lib:%{_builddir}/%{buildsubdir}/build%{_libdir}:/usr/lib64:/usr/lib"
|
||||||
make MARCH=%{julia_march} prefix=%{_prefix} libdir=%{_libdir} bindir=%{_bindir} build_prefix="%{_builddir}/%{buildsubdir}/build%{_prefix}" build_libdir="%{_builddir}/%{buildsubdir}/build%{_libdir}" -C deps install-pcre %{__julia_opts}
|
make MARCH=%{julia_march} prefix=%{_prefix} libdir=%{_libdir} bindir=%{_bindir} build_prefix="%{_builddir}/%{buildsubdir}/build%{_prefix}" build_libdir="%{_builddir}/%{buildsubdir}/build%{_libdir}" -C deps install-pcre %{__julia_opts}
|
||||||
@ -449,6 +449,13 @@ make install DESTDIR="%{buildroot}" \
|
|||||||
TAGGED_RELEASE_BANNER="${RELEASE_BANNER}"
|
TAGGED_RELEASE_BANNER="${RELEASE_BANNER}"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Dangling symlinks
|
||||||
|
pushd %{buildroot}%{_libdir}/julia
|
||||||
|
ln -sf ../libblastrampoline.so libblastrampoline.so
|
||||||
|
ln -sf ../libgcc_s.so.1 libgcc_s.so.1
|
||||||
|
ln -sf ../libgfortran.so.5 libgfortran.so.5
|
||||||
|
popd
|
||||||
|
|
||||||
# GZip man page.
|
# GZip man page.
|
||||||
gzip %{buildroot}/%{_mandir}/man1/julia.1
|
gzip %{buildroot}/%{_mandir}/man1/julia.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user