- 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:
parent
0b4430c4d7
commit
80166d06a0
@ -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.
|
- There should be a package libjulia1.
|
||||||
- CFLAGS and CXXFLAGS use provided %optflags.
|
- 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
|
- 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"
|
- 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.
|
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>
|
Wed Dec 13 00:36:26 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||||
|
@ -442,9 +442,6 @@ rm -rf %{buildroot}%{_docdir}/julia/
|
|||||||
rm %{buildroot}%{_datadir}/appdata/julia.appdata.xml
|
rm %{buildroot}%{_datadir}/appdata/julia.appdata.xml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Remove duplicated files.
|
|
||||||
%fdupes %{buildroot}
|
|
||||||
|
|
||||||
%suse_update_desktop_file -r julia Science Math
|
%suse_update_desktop_file -r julia Science Math
|
||||||
|
|
||||||
mv %{buildroot}%{_bindir}/julia %{buildroot}%{_bindir}/julia-base
|
mv %{buildroot}%{_bindir}/julia %{buildroot}%{_bindir}/julia-base
|
||||||
@ -463,6 +460,9 @@ find %{buildroot} -type f -execdir dos2unix -k {} \;
|
|||||||
# make it executable
|
# make it executable
|
||||||
chmod +x %{buildroot}%{_datadir}/julia/stdlib/v1.9/SparseArrays/gen/generator.jl
|
chmod +x %{buildroot}%{_datadir}/julia/stdlib/v1.9/SparseArrays/gen/generator.jl
|
||||||
|
|
||||||
|
# Remove duplicated files.
|
||||||
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_sbindir}/update-alternatives --install %{_bindir}/julia \
|
%{_sbindir}/update-alternatives --install %{_bindir}/julia \
|
||||||
julia %{_bindir}/julia-base 5
|
julia %{_bindir}/julia-base 5
|
||||||
|
Loading…
Reference in New Issue
Block a user