Update to v1.0.0 release

This commit is contained in:
Dan Callaghan 2019-06-27 20:59:44 +10:00
parent 847ebe0b90
commit 7760bc46c5
4 changed files with 36 additions and 8 deletions

1
.gitignore vendored
View file

@ -13,3 +13,4 @@
/synapse-0.33.3.1.tar.gz /synapse-0.33.3.1.tar.gz
/synapse-0.34.0.tar.gz /synapse-0.34.0.tar.gz
/synapse-0.34.0.1.tar.gz /synapse-0.34.0.1.tar.gz
/synapse-1.0.0.tar.gz

View file

@ -3,14 +3,19 @@
%{?python_enable_dependency_generator} %{?python_enable_dependency_generator}
Name: matrix-%{srcname} Name: matrix-%{srcname}
Version: 0.34.0.1 Version: 1.0.0
Release: 3%{?dist} Release: 1%{?dist}
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}
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
Source1: synapse.sysconfig Source1: synapse.sysconfig
Source2: synapse.service Source2: synapse.service
# The issues with prometheus_client compatibility are not resolved upstream yet:
# https://github.com/matrix-org/synapse/issues/4221
# but we can at least build and run with the newer version. That's better than
# having a totally unusable matrix-synapse package...
Patch1: no-prometheus_client-pin.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -19,14 +24,19 @@ BuildRequires: python3-setuptools
# Test dependencies # Test dependencies
BuildRequires: python3-lxml BuildRequires: python3-lxml
BuildRequires: python3-mock BuildRequires: python3-mock
BuildRequires: python3-parameterized
BuildRequires: /usr/bin/openssl
# Package dependencies # Package dependencies
#BuildRequires: python3-txacme >= 0.9.2
BuildRequires: python3-attrs >= 17.4.0
BuildRequires: python3-bcrypt BuildRequires: python3-bcrypt
BuildRequires: python3-pyOpenSSL >= 0.15 BuildRequires: python3-pyOpenSSL >= 0.15
BuildRequires: python3-bleach >= 1.4.2 BuildRequires: python3-bleach >= 1.4.3
BuildRequires: python3-canonicaljson >= 1.1.3 BuildRequires: python3-canonicaljson >= 1.1.3
BuildRequires: python3-daemonize BuildRequires: python3-daemonize
BuildRequires: python3-frozendict >= 0.4 BuildRequires: python3-frozendict >= 1.0
BuildRequires: python3-idna >= 2
BuildRequires: python3-jinja2 >= 2.8 BuildRequires: python3-jinja2 >= 2.8
BuildRequires: python3-jsonschema BuildRequires: python3-jsonschema
BuildRequires: python3-matrix-synapse-ldap3 >= 0.1 BuildRequires: python3-matrix-synapse-ldap3 >= 0.1
@ -36,15 +46,15 @@ BuildRequires: python3-phonenumbers >= 8.2.0
BuildRequires: python3-pillow BuildRequires: python3-pillow
BuildRequires: python3-psutil >= 2.0.0 BuildRequires: python3-psutil >= 2.0.0
BuildRequires: python3-pyasn1 BuildRequires: python3-pyasn1
BuildRequires: python3-pymacaroons-pynacl BuildRequires: python3-pymacaroons-pynacl >= 0.13.0
BuildRequires: python3-pynacl >= 1.2.0 BuildRequires: python3-pynacl >= 1.2.0
BuildRequires: python3-pysaml2 >= 3.0.0 BuildRequires: python3-pysaml2 >= 3.0.0
BuildRequires: python3-service-identity >= 1.0.0 BuildRequires: python3-service-identity >= 18.1.0
BuildRequires: python3-signedjson >= 1.0.0 BuildRequires: python3-signedjson >= 1.0.0
BuildRequires: python3-six BuildRequires: python3-six
BuildRequires: python3-sortedcontainers BuildRequires: python3-sortedcontainers
BuildRequires: python3-systemd BuildRequires: python3-systemd
BuildRequires: python3-twisted >= 17.0.0 BuildRequires: python3-twisted >= 18.7.0
BuildRequires: python3-treq BuildRequires: python3-treq
BuildRequires: python3-unpaddedbase64 >= 1.1.0 BuildRequires: python3-unpaddedbase64 >= 1.1.0
BuildRequires: python3-prometheus_client BuildRequires: python3-prometheus_client
@ -119,6 +129,11 @@ exit 0
%changelog %changelog
* Thu Jun 27 2019 Dan Callaghan <djc@djc.id.au> - 1.0.0-1
- Update to v1.0.0 release, including new protocol-mandated TLS
certificate verification logic. See:
https://github.com/matrix-org/synapse/blob/master/docs/MSC1711_certificates_FAQ.md
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0.1-3 * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View file

@ -0,0 +1,12 @@
diff -ur synapse-0.99.5.2/synapse/python_dependencies.py synapse-0.99.5.2.patched/synapse/python_dependencies.py
--- synapse-0.99.5.2/synapse/python_dependencies.py 2019-05-31 01:29:47.000000000 +1000
+++ synapse-0.99.5.2.patched/synapse/python_dependencies.py 2019-06-08 16:21:33.986360990 +1000
@@ -67,7 +67,7 @@
"six>=1.10",
# prometheus_client 0.4.0 changed the format of counter metrics
# (cf https://github.com/matrix-org/synapse/issues/4001)
- "prometheus_client>=0.0.18,<0.4.0",
+ "prometheus_client>=0.0.18",
# we use attr.s(slots), which arrived in 16.0.0
# Twisted 18.7.0 requires attrs>=17.4.0

View file

@ -1 +1 @@
SHA512 (synapse-0.34.0.1.tar.gz) = e54e7575b1c1b1cc9405f7d44b3f9a918f7f8827c207d0c4e0aadd467ef18281173fbccd3620f37a00b5abb7521e1ebacd2704abdaa9d5b7d89aed4658d18d99 SHA512 (synapse-1.0.0.tar.gz) = 1eda4834c9f6e6ac4b0c419e32f9bc287b485c6844c20608c83f622de27deca28e60e68e8448af0415410e7accd4fbbddf7578f1b1387db1b8a9b3c9e3b842f6