Marcus Rueckert
3548a07d65
- Update to 1.92.3 This release does not affect openSUSE as we do not use the intree libwebp Upstream changes: This is again a security update targeted at mitigating CVE-2023-4863. It turns out that libwebp is bundled statically in Pillow wheels so we need to update this dependency instead of libwebp package at the OS level. Unlike what was advertised in 1.92.2 changelog this release also impacts PyPI wheels and Debian packages from matrix.org. We encourage admins to upgrade as soon as possible. Internal Changes - Pillow 10.0.1 is now mandatory because of libwebp CVE-2023-4863, since Pillow provides libwebp in the wheels. (#16347) - bump all the dependencies which are not available in tumbleweed. - Update to 1.92.2 Only fix in this is actually changing the upstream docker configuration to mitigate the webp security bug. Does not affect our package. - Update to 1.92.1 - Bugfixes - Revert MSC3861 introspection cache, admin impersonation and account lock. (#16258) - Internal Changes - Fix incorrect docstring for Ratelimiter. (#16255) - Update the release script to work on macOS. (#16266) - Stop building Ubuntu Kinetic since it is EOL and repos seem OBS-URL: https://build.opensuse.org/request/show/1113560 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=287
69 lines
2.1 KiB
RPMSpec
69 lines
2.1 KiB
RPMSpec
#
|
|
# spec file
|
|
#
|
|
# Copyright (c) 2023 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.92.3
|
|
Release: 0
|
|
Summary: Test package for %{pkgname}
|
|
License: Apache-2.0
|
|
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
|