matrix-synapse/matrix-synapse-test.spec
Marcus Rueckert 8778bdbcb5 - Update to 1.122.0
Please note that this version of Synapse drops support for
  PostgreSQL 11 and 12. The minimum version of PostgreSQL supported
  is now version 13.
  - Deprecations and Removals
    - Remove support for PostgreSQL 11 and 12. Contributed by @clokep. (#18034)
  - Features
    - Added the email.tlsname config option. This allows specifying
      the domain name used to validate the SMTP server's TLS
      certificate separately from the email.smtp_host to connect
      to. (#17849)
    - Module developers will have access to the user ID of the
      requester when adding check_username_for_spam callbacks to
      spam_checker_module_callbacks. Contributed by
      Wilson@Pangea.chat. (#17916)
    - Add endpoints to the Admin API to fetch the number of invites
      the provided user has sent after a given timestamp, fetch the
      number of rooms the provided user has joined after a given
      timestamp, and get report IDs of event reports against a
      provided user (i.e. where the user was the sender of the
      reported event). (#17948)
    - Support stable account suspension from MSC3823. (#17964)
    - Add macaroon_secret_key_path config option. (#17983)
  - Bugfixes
    - Fix bug when rejecting withdrew invite with a
      third_party_rules module, where the invite would be stuck for
      the client. (#17930)
    - Properly purge state groups tables when purging a room with
      the Admin API. (#18024)
    - Fix a bug preventing the admin redaction endpoint from

OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=360
2025-01-14 17:13:10 +00:00

69 lines
2.1 KiB
RPMSpec

#
# spec file for package matrix-synapse-test
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# synapse only supports python >= 3.5, which is not available on pre-15 Leap.
# However, future versions of matrix-synapse will no longer support python2 and
# continued use of python2 is not recommended, so we only use the primary
# python3 flavor. As a result, at no point do we have two versions of the
# matrix-synapse package.
# Disable debug packages since we're not installing anything.
%define debug_package %{nil}
%define pkgname matrix-synapse
Name: %{pkgname}-test
Version: 1.122.0
Release: 0
Summary: Test package for %{pkgname}
License: AGPL-3.0-or-later
BuildRequires: %{pkgname} == %{version}
%description
.
%prep
touch %{_sourcedir}/%{pkgname}
%build
%install
%check
# Following tests disabled which would need to be run as 'synapse' user which
# we can not do easily (or at all) within RPM
# Generate a sample config.
#python3 -m synapse.app.homeserver \
# --generate-config \
# --server localhost \
# --config-path dummy-homeserver.yaml \
# --report-stats no
# Start synapse and try to register a user (basic smoke-test).
# register_new_matrix_user doesn't seem to work inside check so we have to
# manually run the module.
#synctl start dummy-homeserver.yaml
#sleep 2s
#python3 -m synapse._scripts.register_new_matrix_user \
# http://localhost:8008 \
# --config dummy-homeserver.yaml \
# --admin --user opensuse --password opensuse
#synctl stop dummy-homeserver.yaml
%changelog