Use the dependency generator macro

This commit is contained in:
Jeremy Cline 2018-05-24 10:31:48 -04:00
parent c63b7d6cdb
commit 51fca28d4f
No known key found for this signature in database
GPG key ID: 9223308FA9B246DB

View file

@ -1,5 +1,7 @@
%global srcname synapse
%{?python_enable_dependency_generator}
Name: matrix-%{srcname}
Version: 0.28.1
Release: 1%{?dist}
@ -46,36 +48,6 @@ BuildRequires: python2-pyyaml
BuildRequires: systemd
BuildRequires: python2-mock
Requires: python2-affinity
Requires: python2-bcrypt
Requires: python2-pyOpenSSL >= 0.14
Requires: python2-bleach >= 1.4.2
Requires: python2-blist
Requires: python2-canonicaljson >= 1.0.0
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-pyyaml
Requires(pre): shadow-utils
Requires: systemd
%{?systemd_requires}