- Add Obsoletes to obsolete older versions for julia and its subpackages.
OBS-URL: https://build.opensuse.org/package/show/science/julia?expand=0&rev=170
This commit is contained in:
parent
0461c42d82
commit
a736511f33
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 28 12:58:24 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Add Obsoletes to obsolete older versions for julia and its subpackages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 28 06:43:48 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
|
11
julia.spec
11
julia.spec
@ -149,9 +149,9 @@ Requires: suitesparse-devel
|
||||
# Julia requires the devel package as well
|
||||
# specifically libjulia.so
|
||||
%if 0%{?compat_mode}
|
||||
Requires: julia-compat-devel
|
||||
Requires: julia-compat-devel = %{version}
|
||||
%else
|
||||
Requires: julia-devel
|
||||
Requires: julia-devel = %{version}
|
||||
%endif
|
||||
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
@ -187,6 +187,7 @@ Group: Development/Languages/Other
|
||||
Conflicts: julia
|
||||
Provides: julia = %{version}
|
||||
%endif
|
||||
Obsoletes: %{name} < %{version}
|
||||
|
||||
# Let's not be optimistic towards 32 bit support and other architectures
|
||||
# openSUSE or Julia cannot guarantee to support, shall we? Only choose
|
||||
@ -216,8 +217,9 @@ Group: Development/Languages/Other
|
||||
Requires: %{libname} = %{version}
|
||||
%if 0%{?compat_mode}
|
||||
Conflicts: julia-devel
|
||||
Provides: julia-devel
|
||||
Provides: julia-devel = %{version}
|
||||
%endif
|
||||
Obsoletes: %{name}-devel < %{version}
|
||||
|
||||
%description devel
|
||||
Contains library symbolic links and header files for developing applications
|
||||
@ -231,8 +233,9 @@ Summary: Julia shared object libraries
|
||||
Group: System/Libraries
|
||||
%if 0%{?compat_mode}
|
||||
Conflicts: libjulia%{libjulia_sover_major}_%{libjulia_sover_minor}
|
||||
Provides: libjulia%{libjulia_sover_major}_%{libjulia_sover_minor}
|
||||
Provides: libjulia%{libjulia_sover_major}_%{libjulia_sover_minor} = %{version}
|
||||
%endif
|
||||
Obsoletes: %{libname} < %{version}
|
||||
|
||||
%description -n %{libname}
|
||||
Contains library files for interacting with Julia through C interfaces.
|
||||
|
Loading…
Reference in New Issue
Block a user