This commit is contained in:
Alex Manning 2021-04-06 15:39:17 +01:00
parent 41c3d76b55
commit bb016563c0

View file

@ -1,14 +1,20 @@
%global srcname synapse %global srcname synapse
# Version suffix in URL when building release candidates # Version suffix in URL when building release candidates
%global rcx rc1 %global rcx %{nil}
%global ghversion 1.31.0 %global ghversion 1.31.0
%{?python_enable_dependency_generator} %{?python_enable_dependency_generator}
%if "%{rcx}"
%global rcv ~%{rcx}
%else
%global rcv %{nil}
%endif
Name: matrix-%{srcname} Name: matrix-%{srcname}
Version: %{ghversion} Version: %{ghversion}
Release: 1%{?dist}~%{rcx} Release: 1%{?dist}%{rcv}
Summary: A Matrix reference homeserver written in Python using Twisted Summary: A Matrix reference homeserver written in Python using Twisted
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/matrix-org/%{srcname} URL: https://github.com/matrix-org/%{srcname}
@ -77,6 +83,7 @@ the ecosystem.
%prep %prep
echo %{rcv}
%autosetup -p1 -n %{srcname}-%{ghversion}%{rcx} %autosetup -p1 -n %{srcname}-%{ghversion}%{rcx}
# Worlaround fedora not having the right version of python crypto yet. # Worlaround fedora not having the right version of python crypto yet.