diff --git a/python-pycryptodome.changes b/python-pycryptodome.changes index c0fcd05..523f282 100644 --- a/python-pycryptodome.changes +++ b/python-pycryptodome.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 9 21:55:51 UTC 2019 - Jonathan Brownell + +- Protect older platforms from encountering "Suggests:" keyword + ------------------------------------------------------------------- Thu Nov 29 16:41:53 UTC 2018 - Hans-Peter Jansen diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec index 7b93896..81657a1 100644 --- a/python-pycryptodome.spec +++ b/python-pycryptodome.spec @@ -31,10 +31,12 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if !0%{?_no_weakdeps} # PyCryptodome uses gmp via cffi as runtime optimization # would be better, if libgmp* would provide gmp Suggests: libgmp10 Suggests: python-cffi +%endif Provides: python-pycrypto = %{version} Obsoletes: python-pycrypto < %{version} %ifpython2