File 0374-Update-deprecations.patch of Package erlang

From 206259677844951c719cc18833406a7906f88003 Mon Sep 17 00:00:00 2001
From: Jakub Witczak <kuba@erlang.org>
Date: Tue, 8 Feb 2022 18:35:07 +0100
Subject: [PATCH] Update deprecations

---
 bootstrap/lib/stdlib/ebin/otp_internal.beam | Bin 5664 -> 5832 bytes
 lib/stdlib/src/otp_internal.erl             |  34 +++++++++++++++-----
 2 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 2332df5315..cebac898cb 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -54,7 +54,7 @@ obsolete(ftp, start_service, 1) ->
 obsolete(ftp, stop_service, 1) ->
     {deprecated, "use ftp:close/1 instead", "OTP 26"};
 obsolete(http_uri, decode, 1) ->
-    {deprecated, "use uri_string functions instead", "OTP 25"};
+    {deprecated, "use uri_string functions instead", "OTP 26"};
 obsolete(http_uri, encode, 1) ->
     {deprecated, "use uri_string functions instead", "OTP 25"};
 obsolete(http_uri, parse, 1) ->
@@ -62,7 +62,7 @@ obsolete(http_uri, parse, 1) ->
 obsolete(http_uri, parse, 2) ->
     {deprecated, "use uri_string functions instead", "OTP 25"};
 obsolete(http_uri, scheme_defaults, 0) ->
-    {deprecated, "use uri_string functions instead", "OTP 25"};
+    {deprecated, "use uri_string functions instead", "OTP 26"};
 obsolete(httpd, parse_query, 1) ->
     {deprecated, "use uri_string:dissect_query/1 instead"};
 obsolete(httpd_util, flatlength, 1) ->
-- 
2.34.1

openSUSE Build Service is sponsored by