diff --git a/python-jose.spec b/python-jose.spec index 1b2fda2..3d8e169 100644 --- a/python-jose.spec +++ b/python-jose.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 3.2.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A JOSE implementation in Python License: MIT @@ -41,11 +41,7 @@ Obsoletes: python3-%{srcname}-pycryptodome < 3.2.0-3 # Upstream recommends the cryptography backend. We add it as a soft dependency # so that anyone who does not go out of their way to select a different backend # gets the best experience. -%if 0%{?fedora} == 32 -Recommends: python3-%{srcname}+cryptography = %{version}-%{release} -%else Recommends: python3dist(python-jose[cryptography]) -%endif %global common_description %{expand: The JavaScript Object Signing and Encryption (JOSE) technologies - JSON Web @@ -112,9 +108,6 @@ installed, even if you select a different backend on install. %package -n python3-%{srcname} Summary: %{summary} -%if 0%{?fedora} == 32 -%py_provides python3-%{srcname} -%endif %description -n python3-%{srcname} %{common_description} @@ -147,9 +140,6 @@ Requires: python3-%{srcname} = %{version}-%{release} Provides: python3-%{srcname}-cryptography = %{version}-%{release} Obsoletes: python3-%{srcname}-cryptography < 3.2.0-3 %endif -%if 0%{?fedora} == 32 -Requires: python3dist(cryptography) -%endif %description -n python3-%{srcname}+cryptography This is a metapackage bringing in cryptography extras requires for @@ -168,10 +158,6 @@ Requires: python3-%{srcname} = %{version}-%{release} Provides: python3-%{srcname}-pycrypto = %{version}-%{release} Obsoletes: python3-%{srcname}-pycrypto < 3.2.0-3 %endif -%if 0%{?fedora} == 32 -Requires: python3dist(pyasn1) -Requires: python3dist(pycrypto) >= 2.6.0 with python3dist(pycrypto) < 2.7.0 -%endif %description -n python3-%{srcname}+pycrypto This is a metapackage bringing in pycrypto extras requires for python3-%{srcname}. @@ -234,6 +220,9 @@ echo '>>> Cross-backend compatibility and coexistence <<<' 1>&2 %changelog +* Sat Apr 10 2021 Benjamin A. Beasley - 3.2.0-6 +- Drop Fedora 32 workarounds + * Tue Mar 16 2021 Benjamin A. Beasley - 3.2.0-5 - Drop python3dist(setuptools) BR, redundant with %%pyproject_buildrequires