Add missing requires

Signed-off-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
Simo Sorce 2021-06-10 13:09:33 -04:00
parent de39ca1bca
commit 8752bfee2d

View File

@ -29,6 +29,7 @@ BuildRequires: python2-devel
BuildRequires: python2-setuptools BuildRequires: python2-setuptools
BuildRequires: python2-cryptography >= 2.3 BuildRequires: python2-cryptography >= 2.3
BuildRequires: python2-pytest BuildRequires: python2-pytest
BuildRequires: python2-deprecated
%endif %endif
%if 0%{?with_python3} %if 0%{?with_python3}
@ -36,6 +37,7 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-cryptography >= 2.3 BuildRequires: python%{python3_pkgversion}-cryptography >= 2.3
BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}-deprecated
%endif %endif
%description %description
@ -46,6 +48,7 @@ Implements JWK, JWS, JWE specifications using python-cryptography
%package -n python2-%{srcname} %package -n python2-%{srcname}
Summary: Implements JWK,JWS,JWE specifications using python-cryptography Summary: Implements JWK,JWS,JWE specifications using python-cryptography
Requires: python2-cryptography >= 2.3 Requires: python2-cryptography >= 2.3
Requires: python2-deprecated
%{?python_provide:%python_provide python2-%{srcname}} %{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname} %description -n python2-%{srcname}
@ -57,6 +60,7 @@ Implements JWK, JWS, JWE specifications using python-cryptography
%package -n python%{python3_pkgversion}-%{srcname} %package -n python%{python3_pkgversion}-%{srcname}
Summary: Implements JWK, JWS, JWE specifications using python-cryptography Summary: Implements JWK, JWS, JWE specifications using python-cryptography
Requires: python%{python3_pkgversion}-cryptography >= 2.3 Requires: python%{python3_pkgversion}-cryptography >= 2.3
Requires: python%{python3_pkgversion}-deprecated
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname} %description -n python%{python3_pkgversion}-%{srcname}