14
0

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
This commit is contained in:
2024-11-08 15:01:32 +00:00
committed by Git OBS Bridge
parent dc005f9428
commit a23a32b0fc
2 changed files with 9 additions and 7 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 8 10:08:46 UTC 2024 - Ben Greiner <code@bnavigator.de>
- 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 <dimstar@opensuse.org> Tue Nov 5 08:03:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -61,8 +61,7 @@ BuildRequires: pkgconfig(libffi)
# python-base is not enough, we need the _ssl module # python-base is not enough, we need the _ssl module
Requires: python Requires: python
Requires: python-bcrypt Requires: python-bcrypt
# assuming all python*-cffi packages have the same version Requires: python-cffi = %(rpm -q --whatprovides python-cffi --qf "%%{version}")
Requires: python-cffi = %(rpm -q --whatprovides python3-cffi --qf "%%{version}")
%if %{with test} %if %{with test}
BuildRequires: %{python_module bcrypt} BuildRequires: %{python_module bcrypt}
BuildRequires: %{python_module certifi} BuildRequires: %{python_module certifi}
@@ -80,11 +79,6 @@ BuildRequires: %{python_module pytz}
%python_subpackages %python_subpackages
%description %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 cryptography includes both high level recipes, and low
level interfaces to common cryptographic algorithms such as level interfaces to common cryptographic algorithms such as
symmetric ciphers, message digests and key derivation symmetric ciphers, message digests and key derivation