From: DongHun Kwak Date: Mon, 29 Mar 2021 06:51:24 +0000 (+0900) Subject: Add require python-typing X-Git-Tag: submit/tizen_6.0_hotfix/20210330.000452^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09bd1de819e143ab3595dd7e6f0eb41d255d53bf;p=platform%2Fupstream%2Fpython-M2Crypto.git Add require python-typing Change-Id: Iddfb8014cca9edccbf4a133c832e90f9f1a64f8e Signed-off-by: DongHun Kwak (cherry picked from commit 060346e70ce782a5ef70bcdd47be4762ffe2f8d9) --- diff --git a/packaging/python-M2Crypto.spec b/packaging/python-M2Crypto.spec index a864d35..3373b67 100644 --- a/packaging/python-M2Crypto.spec +++ b/packaging/python-M2Crypto.spec @@ -27,6 +27,8 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: swig BuildRequires: python + +Requires: python-typing %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Provides: python-m2crypto = %{version} Obsoletes: python-m2crypto < %{version}