Add available python extras subpackages
This commit is contained in:
parent
1789dec058
commit
ebbe65d4a2
1 changed files with 11 additions and 1 deletions
|
@ -15,9 +15,15 @@ Source2: synapse.service
|
|||
Source3: matrix-synapse.sysusers
|
||||
BuildArch: noarch
|
||||
|
||||
Recommends: %{name}+postgres
|
||||
Recommends: %{name}+systemd
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: /usr/bin/openssl
|
||||
BuildRequires: systemd-rpm-macros
|
||||
# Workaround missing python-saml2 dependencies in f35 and f36.
|
||||
BuildRequires: xmlsec1
|
||||
BuildRequires: xmlsec1-openssl
|
||||
|
||||
%description
|
||||
Matrix is an ambitious new ecosystem for open federated Instant Messaging and
|
||||
|
@ -27,6 +33,8 @@ to showcase the concept of Matrix and let folks see the spec in the context of
|
|||
a coded base and let you run your own homeserver and generally help bootstrap
|
||||
the ecosystem.
|
||||
|
||||
%pyproject_extras_subpkg -n %{name} matrix-synapse-ldap3 postgres saml2 oidc systemd url_preview jwt cache_memory
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{srcname}-%{version}%{rcx}
|
||||
|
@ -36,7 +44,9 @@ rm -rf synapse/static
|
|||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x test,systemd
|
||||
# Missing: sentry,opentracing,redis
|
||||
%pyproject_buildrequires -x test,matrix-synapse-ldap3,postgres,saml2,oidc,systemd,url_preview,jwt,cache_memory
|
||||
|
||||
|
||||
|
||||
%build
|
||||
|
|
Loading…
Reference in a new issue