From ce27972597156f99782c96e0b5ac49e615fb75763c41ad063960a7241bd3f5ee Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 12 Jan 2019 15:42:29 +0000 Subject: [PATCH] Accepting request 664952 from home:jbrownell:branches:devel:languages:python - Protect older platforms from encountering "Suggests:" keyword OBS-URL: https://build.opensuse.org/request/show/664952 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycryptodome?expand=0&rev=22 --- python-pycryptodome.changes | 5 +++++ python-pycryptodome.spec | 2 ++ 2 files changed, 7 insertions(+) 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