matrix-synapse/matrix-synapse.spec

289 lines
9.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package matrix-synapse
#
# Copyright (c) 2021 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/
#
# These come from matrix-synapse's CONDITIONAL_REQUIREMENTS.
%bcond_without email_notifs
%bcond_without postgres
%bcond_with oidc
%bcond_without saml
%bcond_without url_preview
%bcond_without jwt
%bcond_with redis
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
# missing deps
%bcond_with opentracing
# matrix-synapse-ldap isn't packaged on openSUSE.
%bcond_with ldap
# txacme is broken in openSUSE.
%bcond_with acme
# sentry-sdk isn't packaged on openSUSE.
%bcond_with sentry
## Package updates
#
# * Update version in _service to the most recent released one
# * Call `osc service dr`
# * Update changelog manually from
# https://github.com/matrix-org/synapse/releases or synapse/CHANGES.md
# * Commit+submit
%define modname synapse
%define pkgname matrix-synapse
%define eggname matrix_synapse
Name: %{pkgname}
Version: 1.25.0
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0
Group: Productivity/Networking/Instant Messenger
URL: https://github.com/matrix-org/synapse
Source0: %{pkgname}-%{version}.tar.xz
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
Source48: README.SUSE
Source49: matrix-synapse.tmpfiles.d
Source50: %{pkgname}.service
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
Source51: matrix-synapse-generate-config.sh
# track series file so we can easily use quilt
# cd synapse ; ln -s .. patches ; quilt push -a
# to clean up your working copy afterwards: git reset --hard ; rm -rv .pc patches
Source99: series
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
Patch: matrix-synapse-1.4.1-paths.patch
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-base
BuildRequires: python3-psutil >= 2.0.0
BuildRequires: python3-setuptools
BuildRequires: python3-treq >= 15.1.0
BuildRequires: systemd-rpm-macros
BuildRequires: unzip
%{?systemd_requires}
Requires(pre): shadow
Requires: python3-base >= 3.5
# NOTE: Keep this is in the same order as synapse/python_dependencie.py.
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-Pillow >= 4.3.0
%requires_eq python3-Pillow
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-PyNaCl >= 1.2.1
%requires_eq python3-PyNaCl
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-PyYAML >= 3.11
%requires_eq python3-PyYAML
BuildRequires: python3-Twisted >= 20.3.0
%requires_eq python3-Twisted
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-attrs >= 17.4.0
%requires_eq python3-attrs
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-bcrypt >= 3.1.0
%requires_eq python3-bcrypt
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-bleach >= 1.4.3
%requires_eq python3-bleach
BuildRequires: python3-canonicaljson >= 1.3.0
%requires_eq python3-canonicaljson
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-frozendict >= 1
%requires_eq python3-frozendict
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-idna >= 2.5
%requires_eq python3-idna
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-jsonschema >= 2.5.1
%requires_eq python3-jsonschema
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-msgpack >= 0.5.2
%requires_eq python3-msgpack
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-netaddr >= 0.7.18
%requires_eq python3-netaddr
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-phonenumbers >= 8.2.0
%requires_eq python3-phonenumbers
BuildRequires: python3-prometheus_client >= 0.4.0
%requires_eq python3-prometheus_client
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-psutil >= 2.0.0
%requires_eq python3-psutil
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-pyOpenSSL >= 16.0.0
%requires_eq python3-pyOpenSSL
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-pyasn1 >= 0.1.9
%requires_eq python3-pyasn1
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-pyasn1-modules >= 0.0.7
%requires_eq python3-pyasn1-modules
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-pymacaroons >= 0.13.0
%requires_eq python3-pymacaroons
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-service_identity >= 18.1.0
%requires_eq python3-service_identity
BuildRequires: python3-signedjson >= 1.1.0
%requires_eq python3-signedjson
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-six >= 1.10
%requires_eq python3-six
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-sortedcontainers >= 1.4.4
%requires_eq python3-sortedcontainers
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-systemd >= 231
%requires_eq python3-systemd
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-typing_extensions >= 3.7.4
%requires_eq python3-typing_extensions
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-treq >= 15.1
%requires_eq python3-treq
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-unpaddedbase64 >= 1.1.0
%requires_eq python3-unpaddedbase64
# Specify all CONDITIONAL_REQUIREMENTS (we Require them to avoid no-recommends
# breaking very commonly-used bits of matrix-synapse such as postgresql).
%if %{with email_notifs}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-Jinja2 >= 2.9
%requires_eq python3-Jinja2
%endif
%if %{with ldap}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-matrix-synapse-ldap3 >= 0.1
%requires_eq python3-matrix-synapse-ldap3
%endif
%if %{with postgres}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-psycopg2 >= 2.7
%requires_eq python3-psycopg2
%endif
%if %{with acme}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-txacme >= 0.9.2
%requires_eq python3-txacme
%endif
%if %{with saml}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-pysaml2 >= 4.5.0
%requires_eq python3-pysaml2
%endif
%if %{with oidc}
BuildRequires: python3-authlib >= 0.15.1
%requires_eq python3-authlib
%endif
%if %{with url_preview}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-lxml >= 3.5.0
%requires_eq python3-lxml
%endif
%if %{with sentry}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-sentry-sdk >= 0.7.2
%requires_eq python3-sentry-sdk
%endif
%if %{with jwt}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-PyJWT >= 1.6.4
%requires_eq python3-PyJWT
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%endif
%if %{with opentracing}
BuildRequires: python3-jaeger-client >= 4.0.0
%requires_eq python3-jaeger-client
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
BuildRequires: python3-opentracing >= 2.2.0
%requires_eq python3-opentracing
%endif
%if %{with redis}
BuildRequires: python3-txredisapi >= 1.4.7
%requires_eq python3-txredisapi
BuildRequires: python3-hiredis
%requires_eq python3-hiredis
%endif
BuildArch: noarch
# We only provide/obsolete python2 to ensure that users upgrade.
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
Obsoletes: python2-matrix-synapse < %{version}-%{release}
Provides: python2-matrix-synapse = %{version}-%{release}
Obsoletes: python3-matrix-synapse < %{version}-%{release}
Provides: python3-matrix-synapse = %{version}-%{release}
%description
Synapse is a Python-based reference "homeserver" implementation of
Matrix. Matrix is a system for federated Instant Messaging and VoIP.
%prep
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%autosetup -p1
# Remove all un-needed #!-lines.
find synapse/ -type f -exec sed -i '1{/^#!/d}' {} \;
# Replace all #!/usr/bin/env lines to use #!/usr/bin/$1 directly.
find ./ -type f -exec \
sed -i '1s|^#!/usr/bin/env |#!/usr/bin/|' {} \;
# Force the usage of the default python3 sys executable
find ./ -type f \
-exec sed -i '1s|^#!/usr/bin/python.*$|#!%{__python3}|' {} \;
# Update the python flavour in the service file.
sed -i 's|@PYTHON_FLAVOR@|%{__python3}|g' %{S:50}
%build
%python3_build
%install
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
cp %{S:48} README.SUSE
# We install scripts into /usr/lib to avoid silly conflicts with other pkgs.
install -d -m 0755 %{buildroot}%{_libexecdir}/%{pkgname}
%python3_install "--install-scripts=%{_libexecdir}/%{pkgname}/"
# While we provide a systemd service, link synctl so it's simpler to use.
install -d -m 0755 %{buildroot}%{_bindir}
ln -s %{_libexecdir}/%{pkgname}/synctl %{buildroot}%{_bindir}/synctl
# Install default matrix-synapse configuration.
# TODO: Switch to the debian default config.
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
install -d -m 0750 \
%{buildroot}%{_sysconfdir}/%{pkgname}/ \
%{buildroot}%{_sysconfdir}/%{pkgname}/{conf,keys}.d/
install -D -m 0640 contrib/systemd/log_config.yaml %{buildroot}%{_sysconfdir}/%{pkgname}/log.yaml
install -D -m 0640 contrib/systemd/log_config.yaml %{buildroot}%{_sysconfdir}/%{pkgname}/log.systemd.yaml
install -D -m 0640 contrib/example_log_config.yaml %{buildroot}%{_sysconfdir}/%{pkgname}/log.file.yaml
# Man pages.
install -D -m 0644 -t %{buildroot}%{_mandir}/man1 debian/*.1
# system configuration.
mkdir -p %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{pkgname}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
#
install -D -m 0644 %{S:50} %{buildroot}%{_unitdir}/%{pkgname}.service
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
install -D -m 0644 %{S:49} %{buildroot}%{_tmpfilesdir}/%{pkgname}.conf
#
install -D -m 0755 %{S:51} %{buildroot}%{_sbindir}/matrix-synapse-generate-config
# User directory.
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
install -d -m 0750 %{buildroot}%{_rundir}/%{pkgname}
install -d -m 0750 %{buildroot}%{_localstatedir}/lib/%{pkgname}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
install -d -m 0750 %{buildroot}%{_localstatedir}/log/%{pkgname}
%fdupes %{buildroot}%{python3_sitelib}
%pre
getent group synapse >/dev/null || groupadd -r synapse
getent passwd synapse >/dev/null || \
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
/usr/sbin/useradd -r -g synapse -s /bin/false -c 'Matrix Synapse' \
-d %{_rundir}/%{pkgname} synapse
usermod --shell=/bin/false --home=%{_localstatedir}/lib/%{pkgname} --gid=synapse synapse
%service_add_pre %{pkgname}.service
%post
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%tmpfiles_create %{_tmpfilesdir}/%{pkgname}.conf
%service_add_post %{pkgname}.service
%preun
%service_del_preun %{pkgname}.service
%postun
%service_del_postun %{pkgname}.service
%files -n %{pkgname}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%doc *.rst CHANGES.md README.SUSE
%license LICENSE
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%config(noreplace) %attr(-,root,synapse) %{_sysconfdir}/%{pkgname}/
%dir %attr(0750,%{modname},%{modname}) %{_localstatedir}/lib/%{pkgname}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%dir %attr(0750,%{modname},%{modname}) %{_localstatedir}/log/%{pkgname}
%{python3_sitelib}/%{modname}
%{python3_sitelib}/synmark
%{python3_sitelib}/%{eggname}-%{version}*-info
# Python helper scripts.
%{_bindir}/synctl
%{_libexecdir}/%{pkgname}
# systemd service.
%{_sbindir}/rc%{pkgname}
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%{_sbindir}/matrix-synapse-generate-config
%{_unitdir}/%{pkgname}.service
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%{_tmpfilesdir}/%{pkgname}.conf
# Man pages.
%{_mandir}/man*/*
Accepting request 768057 from home:darix:apps - update to 1.9.1 Fix bug where setting mau_limit_reserved_threepids config would cause Synapse to refuse to start. (#6793) - package cleanup - make sure we have all libraries to actually install the package: - buildrequires all runtime requirements - (build)require python3-typing_extensions - having it use the python package name is not really useful here. - refreshed and renamed better-paths.patch to matrix-synapse-1.4.1-paths.patch - also fix existing synapse user - group to synapse instead of nogroup - home directory to /var/lib/matrix-synapse - shell to /bin/false (which actually exists) - improvements to the logging configuration: - install copy of the current /etc/matrix-synapse/log.yaml as /etc/matrix-synapse/log.systemd.yaml - install /etc/matrix-synapse/log.file.yaml which logs to /var/log/matrix-synapse/homeserver.log - add the log directory /var/log/matrix-synapse/ - added README.SUSE - better way to bootstrap a new config: 1. ExecStartPre would have never worked anyway 2. added %{_sbindir}/matrix-synapse-generate-config Usage: %{_sbindir}/matrix-synapse-generate-config servername - fix group and shell for the synapse user - added better-paths.patch - put the pid file into /run/matrix-synapse/ - use a default logging config in /etc/matrix-synapse/log.yaml to have systemd logging by default - use full path in the service file - actually use source 50 instead of the service file in the tarball - make permissions tighter on the config files as it contains passwords and other secrets: root:synapse u=rwX,g=rX,o= OBS-URL: https://build.opensuse.org/request/show/768057 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=111
2020-02-03 11:56:06 +01:00
%ghost %dir %attr(750,%{modname},%{modname}) /run/matrix-synapse
%changelog