forked from pool/matrix-synapse
Provide the package without python prefix itself for py2 as default
OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=6
This commit is contained in:
parent
d66fe0311f
commit
c472423472
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
%define github_user matrix-org
|
%define github_user matrix-org
|
||||||
%define short_name synapse
|
%define short_name synapse
|
||||||
Name: matrix-%{short_name}
|
Name: matrix-%{short_name}
|
||||||
@ -65,6 +66,9 @@ Requires: python-msgpack-python >= 0.3.0
|
|||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
Provides: %{name} = %{version}
|
||||||
|
%endif
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user