From 09b0e5c9580f46c9e6a0b62eccd919b39bfc68833f2bbde44ba508c3cf157648 Mon Sep 17 00:00:00 2001
From: Oliver Kurz <okurz@suse.com>
Date: Mon, 1 Apr 2024 18:37:26 +0000
Subject: [PATCH] Accepting request 1162886 from home:adamm:apps

- Moved to Element maintained fork as matrix has archived their version
- Update to 1.103.0
  - Features
    - Add a new List Accounts v3 Admin API with improved deactivated
      user filtering capabilities. (#16874)
    - Include Retry-After header by default per MSC4041. Contributed
      by @clokep. (#16947)
  - Bugfixes
    - Fix joining remote rooms when a module uses the on_new_event
      callback. This callback may now pass partial state events
      instead of the full state for remote rooms. Introduced in
      v1.76.0. (#16973)
    - Fix performance issue when joining very large rooms that can
      cause the server to lock up. Introduced in v1.100.0.
      Contributed by @ggogel. (#16968)
  - Improved Documentation
    - Add HAProxy example for single port operation to reverse proxy
      documentation. Contributed by Georg Pfuetzenreuter (@tacerus).
      (#16768)
    - Improve the documentation around running Complement tests with
      new configuration parameters. (#16946)
    - Add docs on upgrading from a very old version. (#16951)
For changes in older version since 1.98.0, see
https://github.com/element-hq/synapse/releases

OBS-URL: https://build.opensuse.org/request/show/1162886
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=310
---
 _service                       |  4 ++--
 matrix-synapse-1.103.0.obscpio |  3 +++
 matrix-synapse-1.98.0.obscpio  |  3 ---
 matrix-synapse-test.spec       |  8 ++++----
 matrix-synapse.changes         | 29 +++++++++++++++++++++++++++++
 matrix-synapse.obsinfo         |  6 +++---
 matrix-synapse.spec            | 12 ++++++------
 vendor.tar.zst                 |  4 ++--
 8 files changed, 49 insertions(+), 20 deletions(-)
 create mode 100644 matrix-synapse-1.103.0.obscpio
 delete mode 100644 matrix-synapse-1.98.0.obscpio

diff --git a/_service b/_service
index 1f30a50..a106321 100644
--- a/_service
+++ b/_service
@@ -2,9 +2,9 @@
   <service name="obs_scm" mode="manual">
     <param name="filename">matrix-synapse</param>
     <param name="versionformat">@PARENT_TAG@</param>
-    <param name="url">https://github.com/matrix-org/synapse.git</param>
+    <param name="url">https://github.com/element-hq/synapse.git</param>
     <param name="scm">git</param>
-    <param name="revision">v1.98.0</param>
+    <param name="revision">v1.103.0</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="versionrewrite-replacement">\1</param>
     <!--
diff --git a/matrix-synapse-1.103.0.obscpio b/matrix-synapse-1.103.0.obscpio
new file mode 100644
index 0000000..9ae4360
--- /dev/null
+++ b/matrix-synapse-1.103.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ece126bf405b4830f0f539d8f59c4da4911df789f26ba31ff8addb6f9f6f72ff
+size 36274189
diff --git a/matrix-synapse-1.98.0.obscpio b/matrix-synapse-1.98.0.obscpio
deleted file mode 100644
index a0c6fb5..0000000
--- a/matrix-synapse-1.98.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b6b1039016495453a626483fd4669abcd9a72fa79346365a0982e9f5eb162de0
-size 35869197
diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec
index 2ba0486..5c4f358 100644
--- a/matrix-synapse-test.spec
+++ b/matrix-synapse-test.spec
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package matrix-synapse-test
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,10 +27,10 @@
 
 %define         pkgname matrix-synapse
 Name:           %{pkgname}-test
-Version:        1.98.0
+Version:        1.103.0
 Release:        0
 Summary:        Test package for %{pkgname}
-License:        Apache-2.0
+License:        AGPL-3.0-or-later
 BuildRequires:  %{pkgname} == %{version}
 
 %description
diff --git a/matrix-synapse.changes b/matrix-synapse.changes
index daf288f..4ba1d9d 100644
--- a/matrix-synapse.changes
+++ b/matrix-synapse.changes
@@ -1,3 +1,32 @@
+-------------------------------------------------------------------
+Wed Mar 27 12:14:05 UTC 2024 - Adam Majer <adam.majer@suse.de>
+
+- Moved to Element maintained fork as matrix has archived their version
+- Update to 1.103.0
+  - Features
+    - Add a new List Accounts v3 Admin API with improved deactivated
+      user filtering capabilities. (#16874)
+    - Include Retry-After header by default per MSC4041. Contributed
+      by @clokep. (#16947)
+  - Bugfixes
+    - Fix joining remote rooms when a module uses the on_new_event
+      callback. This callback may now pass partial state events
+      instead of the full state for remote rooms. Introduced in
+      v1.76.0. (#16973)
+    - Fix performance issue when joining very large rooms that can
+      cause the server to lock up. Introduced in v1.100.0.
+      Contributed by @ggogel. (#16968)
+  - Improved Documentation
+    - Add HAProxy example for single port operation to reverse proxy
+      documentation. Contributed by Georg Pfuetzenreuter (@tacerus).
+      (#16768)
+    - Improve the documentation around running Complement tests with
+      new configuration parameters. (#16946)
+    - Add docs on upgrading from a very old version. (#16951)
+
+For changes in older version since 1.98.0, see
+https://github.com/element-hq/synapse/releases
+
 -------------------------------------------------------------------
 Fri Mar  1 23:54:12 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
 
diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo
index ddf537d..c48ce6f 100644
--- a/matrix-synapse.obsinfo
+++ b/matrix-synapse.obsinfo
@@ -1,4 +1,4 @@
 name: matrix-synapse
-version: 1.98.0
-mtime: 1702396288
-commit: 15733b0931ceaa72cf4175c44fe58128fa273bac
+version: 1.103.0
+mtime: 1710851081
+commit: 0b4dc4de7cd92180074ccf32ed4a53b7fa330aad
diff --git a/matrix-synapse.spec b/matrix-synapse.spec
index 93b4382..50fd03e 100644
--- a/matrix-synapse.spec
+++ b/matrix-synapse.spec
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package matrix-synapse
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -159,12 +159,12 @@
 %define         pkgname matrix-synapse
 %define         eggname matrix_synapse
 Name:           %{pkgname}
-Version:        1.98.0
+Version:        1.103.0
 Release:        0
 Summary:        Matrix protocol reference homeserver
-License:        Apache-2.0
+License:        AGPL-3.0-or-later
 Group:          Productivity/Networking/Instant Messenger
-URL:            https://github.com/matrix-org/synapse
+URL:            https://github.com/element-hq/synapse
 Source0:        %{pkgname}-%{version}.tar.xz
 Source1:        vendor.tar.zst
 Source47:       matrix-synapse-user.conf
@@ -183,6 +183,7 @@ Patch1:         bump-dependencies.patch
 Source100:      10719-Fix-instert-of-duplicate-key-into-event_json.patch
 BuildRequires:  %{use_python}-base >= 3.8
 BuildRequires:  %{use_python}-pip
+BuildRequires:  %{use_python}-poetry-core >= 1.1.0
 BuildRequires:  %{use_python}-setuptools
 BuildRequires:  %{use_python}-wheel
 BuildRequires:  cargo
@@ -192,7 +193,6 @@ BuildRequires:  systemd-rpm-macros
 BuildRequires:  sysuser-shadow
 BuildRequires:  sysuser-tools
 BuildRequires:  unzip
-BuildRequires:  (%{use_python}-poetry-core >= 1.1.0 with %{use_python}-poetry-core =< 1.8.1)
 %{?systemd_ordering}
 %{sysusers_requires}
 %requires_peq   %{use_python}-base
diff --git a/vendor.tar.zst b/vendor.tar.zst
index 0acfc4c..5ae0261 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:198292b475084770da4f236534e6ab3c7227257bacd024d2bfe06c0617c7db9e
-size 5699626
+oid sha256:4f8f1b58ea9b52fa3a3b3167156387428ebd2b4f9d6b19f01316ac72a731a2bb
+size 5821426