File 0273-Update-deprecations.patch of Package erlang

From 22446ca4980d93d834a5a553515a77420a32bee8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Tue, 17 Feb 2026 13:03:21 +0100
Subject: [PATCH 3/3] Update deprecations

---
 bootstrap/lib/stdlib/ebin/otp_internal.beam | Bin 11492 -> 11496 bytes
 lib/stdlib/src/otp_internal.erl             |   8 ++++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bootstrap/lib/stdlib/ebin/otp_internal.beam b/bootstrap/lib/stdlib/ebin/otp_internal.beam
index 3ec9475324e6d45ee3f97229c1c45e81135ea666..f5fc52a1986ceae5e9985bd3291fa0cd0b0a7c43 100644
GIT binary patch
delta 109
zcmaD7`680T%|FPHfkEfNMvldTj5?dw2x_q~85>UK6Vu(yD)yfn#I{ybom``4F*#Z3
z!sG}|apB^UqWrw{_@czT6cCY~s&6<sS5<3slX4)(<SW{t0wD`sbXCnvj(UWjs<>_R
K`^98Soz(!aA10{)

delta 99
zcmaD6`6QCV%|FPHfkEfaMvldTjOv@$2x_rR4v=J>EGVY6nN{pRH<;tBrnFgGiGy+S
z4-IjiqQtxutJ1v8wEUvn&C$xW9E=Q;Z)k@Km{!RCs_@dkU$KCT@#mkIuaj+cRs#S@
CeIm*L

diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index dc38a8164e..c2b007f2e1 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -3,7 +3,7 @@
 %%
 %% SPDX-License-Identifier: Apache-2.0
 %%
-%% Copyright Ericsson AB 2020-2025. All Rights Reserved.
+%% Copyright Ericsson AB 2020-2026. All Rights Reserved.
 %%
 %% Licensed under the Apache License, Version 2.0 (the "License");
 %% you may not use this file except in compliance with the License.
@@ -59,7 +59,7 @@ obsolete(code, lib_dir, 2) ->
 obsolete(crypto, enable_fips_mode, 1) ->
     {deprecated, "use config parameter fips_mode"};
 obsolete(crypto, rand_uniform, 2) ->
-    {deprecated, "use rand:uniform/1 instead"};
+    {deprecated, "use strong_rand_range/1 instead"};
 obsolete(crypto, start, 0) ->
     {deprecated, "use application:start(crypto) instead"};
 obsolete(crypto, stop, 0) ->
@@ -271,13 +271,13 @@ obsolete(filename, find_src, _) ->
 obsolete(ssl, ssl_accept, _) ->
     {removed, "use ssl:handshake/1,2,3 instead"};
 obsolete(ct_slave, _, _) ->
-    {deprecated, "use ?CT_PEER(), or the 'peer' module instead", "OTP 29"};
+    {deprecated, "use ?CT_PEER(), or the 'peer' module instead", "OTP 31"};
 obsolete(gen_fsm, _, _) ->
     {deprecated, "use the 'gen_statem' module instead"};
 obsolete(random, _, _) ->
     {deprecated, "use the 'rand' module instead"};
 obsolete(slave, _, _) ->
-    {deprecated, "use the 'peer' module instead", "OTP 29"};
+    {deprecated, "use the 'peer' module instead", "OTP 31"};
 obsolete(erts_alloc_config, _, _) ->
     {removed, "this module has as of OTP 26.0 been removed"};
 obsolete(os_mon_mib, _, _) ->
-- 
2.51.0

openSUSE Build Service is sponsored by