- 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:
Soc Virnyl Estela 2023-12-28 13:02:57 +00:00 committed by Git OBS Bridge
parent 0461c42d82
commit a736511f33
2 changed files with 12 additions and 4 deletions

View File

@ -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>

View File

@ -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.