From 8752bfee2dcc88db46931558693a09d9b0f4071e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 10 Jun 2021 13:09:33 -0400 Subject: [PATCH] Add missing requires Signed-off-by: Simo Sorce --- python-jwcrypto.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-jwcrypto.spec b/python-jwcrypto.spec index a5f3497..43cb9de 100644 --- a/python-jwcrypto.spec +++ b/python-jwcrypto.spec @@ -29,6 +29,7 @@ BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-cryptography >= 2.3 BuildRequires: python2-pytest +BuildRequires: python2-deprecated %endif %if 0%{?with_python3} @@ -36,6 +37,7 @@ BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-cryptography >= 2.3 BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-deprecated %endif %description @@ -46,6 +48,7 @@ Implements JWK, JWS, JWE specifications using python-cryptography %package -n python2-%{srcname} Summary: Implements JWK,JWS,JWE specifications using python-cryptography Requires: python2-cryptography >= 2.3 +Requires: python2-deprecated %{?python_provide:%python_provide python2-%{srcname}} %description -n python2-%{srcname} @@ -57,6 +60,7 @@ Implements JWK, JWS, JWE specifications using python-cryptography %package -n python%{python3_pkgversion}-%{srcname} Summary: Implements JWK, JWS, JWE specifications using python-cryptography Requires: python%{python3_pkgversion}-cryptography >= 2.3 +Requires: python%{python3_pkgversion}-deprecated %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname}