From: yan11.meng Date: Wed, 4 Mar 2020 05:43:44 +0000 (+0900) Subject: change to noarch.rpm X-Git-Tag: submit/tizen/20200304.171817^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.0_unified_hotfix;p=platform%2Fupstream%2Fpython-pyOpenSSL.git change to noarch.rpm Change-Id: If67d66402f3984c19b21f20940b5afc1c871d054 --- diff --git a/packaging/python-pyOpenSSL.spec b/packaging/python-pyOpenSSL.spec index 829d482..25b76e7 100644 --- a/packaging/python-pyOpenSSL.spec +++ b/packaging/python-pyOpenSSL.spec @@ -25,6 +25,7 @@ Source1001: python-pyOpenSSL.manifest BuildRequires: python-setuptools BuildRequires: python-devel BuildRequires: openssl1.1 +BuildArch: noarch #comment the below line. if add the below line, compile failed, python setup.py install will use /usr/lib/python2.7 for x86_64 arch. the below is /usr/lib64/python2.7 #%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}