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
This commit is contained in:
Dirk Mueller 2019-01-12 15:42:29 +00:00 committed by Git OBS Bridge
parent 64eb1e532e
commit ce27972597
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 9 21:55:51 UTC 2019 - Jonathan Brownell <jbrownell@suse.com>
- Protect older platforms from encountering "Suggests:" keyword
-------------------------------------------------------------------
Thu Nov 29 16:41:53 UTC 2018 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -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