Stop using the python dependency generator

It includes all optional dependencies, which we don't require (partly
because some aren't packaged).
This commit is contained in:
Jeremy Cline 2018-06-13 20:46:07 -04:00
parent a0a09a0d75
commit 04adc52754
No known key found for this signature in database
GPG key ID: 9223308FA9B246DB

View file

@ -1,10 +1,8 @@
%global srcname synapse %global srcname synapse
%{?python_enable_dependency_generator}
Name: matrix-%{srcname} Name: matrix-%{srcname}
Version: 0.31.1 Version: 0.31.1
Release: 1%{?dist} Release: 2%{?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}
@ -49,6 +47,37 @@ BuildRequires: python2-pyyaml
BuildRequires: systemd BuildRequires: systemd
BuildRequires: python2-mock BuildRequires: python2-mock
Requires: python2-affinity
Requires: python2-bcrypt
Requires: python2-pyOpenSSL >= 0.15
Requires: python2-bleach >= 1.4.2
Requires: python2-blist
Requires: python2-canonicaljson >= 1.1.3
Requires: python2-daemonize
Requires: python2-frozendict >= 0.4
Requires: python2-jinja2 >= 2.8
Requires: python2-jsonschema
Requires: python2-lxml
Requires: python2-matrix-synapse-ldap3 >= 0.1
Requires: python2-msgpack >= 0.3.0
Requires: python2-netaddr >= 0.7.18
Requires: python2-phonenumbers >= 8.2.0
Requires: python2-pillow
Requires: python2-psutil >= 2.0.0
Requires: python2-pyasn1
Requires: python2-pydenticon
Requires: python2-pymacaroons-pynacl
Requires: python2-pynacl >= 1.2.0
Requires: python2-pysaml2 >= 3.0.0
Requires: python2-service-identity >= 1.0.0
Requires: python2-signedjson >= 1.0.0
Requires: python2-six
Requires: python2-systemd
Requires: python2-twisted >= 16.0.0
Requires: python2-ujson
Requires: python2-unpaddedbase64 >= 1.1.0
Requires: python2-prometheus_client
Requires: python2-pyyaml
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires: systemd Requires: systemd
%{?systemd_requires} %{?systemd_requires}
@ -117,6 +146,9 @@ exit 0
%changelog %changelog
* Wed Jun 13 2018 Jeremy Cline <jeremy@jcline.org> - 0.31.1-2
- Stop using Python dependency generator
* Wed Jun 13 2018 Jeremy Cline <jeremy@jcline.org> - 0.31.1-1 * Wed Jun 13 2018 Jeremy Cline <jeremy@jcline.org> - 0.31.1-1
- Update to v0.31.1 - Update to v0.31.1
- Fix CVE-2018-12291 - Fix CVE-2018-12291