From a23a32b0fce3ca00135b23d63bc9a49427c6c1027c39dee6d8e56922c75dce03 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 8 Nov 2024 15:01:32 +0000 Subject: [PATCH] Accepting request 1222713 from home:bnavigator:branches:devel:languages:python - Fix requires_eq replacement for distributions which do not have python3-cffi installed (such as SLE15 python module pythons) * gh#openSUSE/python-rpm-macros#185 - Remove outdated section in description OBS-URL: https://build.opensuse.org/request/show/1222713 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=236 --- python-cryptography.changes | 8 ++++++++ python-cryptography.spec | 8 +------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python-cryptography.changes b/python-cryptography.changes index af38ba8..ff0edd6 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 8 10:08:46 UTC 2024 - Ben Greiner + +- Fix requires_eq replacement for distributions which do not have + python3-cffi installed (such as SLE15 python module pythons) + * gh#openSUSE/python-rpm-macros#185 +- Remove outdated section in description + ------------------------------------------------------------------- Tue Nov 5 08:03:40 UTC 2024 - Dominique Leuenberger diff --git a/python-cryptography.spec b/python-cryptography.spec index 4cc9f80..9601c6e 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -61,8 +61,7 @@ BuildRequires: pkgconfig(libffi) # python-base is not enough, we need the _ssl module Requires: python Requires: python-bcrypt -# assuming all python*-cffi packages have the same version -Requires: python-cffi = %(rpm -q --whatprovides python3-cffi --qf "%%{version}") +Requires: python-cffi = %(rpm -q --whatprovides python-cffi --qf "%%{version}") %if %{with test} BuildRequires: %{python_module bcrypt} BuildRequires: %{python_module certifi} @@ -80,11 +79,6 @@ BuildRequires: %{python_module pytz} %python_subpackages %description -cryptography is a package designed to expose cryptographic -recipes and primitives to Python developers. Our goal is -for it to be your "cryptographic standard library". It -supports Python 2.7, Python 3.4+, and PyPy-5.3+. - cryptography includes both high level recipes, and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests and key derivation