- fdupes at the end of the install section.

OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=151
This commit is contained in:
Soc Virnyl Estela 2023-12-18 06:24:09 +00:00 committed by Git OBS Bridge
parent 0b4430c4d7
commit 80166d06a0
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
-------------------------------------------------------------------
Mon Dec 18 02:13:44 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
Mon Dec 18 06:20:48 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- There should be a package libjulia1.
- CFLAGS and CXXFLAGS use provided %optflags.
@ -9,6 +9,7 @@ Mon Dec 18 02:13:44 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncom
- Turn all eol encondings to unix to all files
- Add rpmlint for "W: hidden-file-or-dir /usr/share/julia/stdlib/v1.9/Pkg/test/test_packages/AugmentedPlatform/.pkg"
That contains julia scripts. Leave it alone.
- fdupes at the end of the install section.
-------------------------------------------------------------------
Wed Dec 13 00:36:26 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>

View File

@ -442,9 +442,6 @@ rm -rf %{buildroot}%{_docdir}/julia/
rm %{buildroot}%{_datadir}/appdata/julia.appdata.xml
%endif
# Remove duplicated files.
%fdupes %{buildroot}
%suse_update_desktop_file -r julia Science Math
mv %{buildroot}%{_bindir}/julia %{buildroot}%{_bindir}/julia-base
@ -463,6 +460,9 @@ find %{buildroot} -type f -execdir dos2unix -k {} \;
# make it executable
chmod +x %{buildroot}%{_datadir}/julia/stdlib/v1.9/SparseArrays/gen/generator.jl
# Remove duplicated files.
%fdupes %{buildroot}
%post
%{_sbindir}/update-alternatives --install %{_bindir}/julia \
julia %{_bindir}/julia-base 5