diff --git a/julia.changes b/julia.changes index 12a40b8..ae65e31 100644 --- a/julia.changes +++ b/julia.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 28 12:58:24 UTC 2023 - Soc Virnyl Estela + +- Add Obsoletes to obsolete older versions for julia and its subpackages. + ------------------------------------------------------------------- Thu Dec 28 06:43:48 UTC 2023 - Soc Virnyl Estela diff --git a/julia.spec b/julia.spec index 7a2c180..3fafb9c 100644 --- a/julia.spec +++ b/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.