Accepting request 1237806 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1237806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyOpenSSL?expand=0&rev=56
This commit is contained in:
Ana Guerrero 2025-01-15 16:42:18 +00:00 committed by Git OBS Bridge
commit 3799fc3dc0
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jan 13 22:33:05 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not build tests noarch: they refer to %__isa, which differs
per architecture, invalidating the noarch option.
Fixes build with rpm 4.20.
-------------------------------------------------------------------
Tue Jul 23 11:39:23 UTC 2024 - Adrian Schröter <adrian@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyOpenSSL
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -43,8 +43,9 @@ Requires: python-cffi
Requires: (python-cryptography >= 41.0.5 with python-cryptography < 44)
Provides: pyOpenSSL = %{version}
Provides: pyopenssl = %{version}-%release
%if %{without test}
BuildArch: noarch
%if %{with test}
%else
BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 44}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyOpenSSL >= %version}