From 1152a26564a162594972b823c8fb515ecc380322 Mon Sep 17 00:00:00 2001 From: "yan11.meng" Date: Wed, 4 Mar 2020 14:43:44 +0900 Subject: [PATCH] change to noarch.rpm Change-Id: If67d66402f3984c19b21f20940b5afc1c871d054 --- packaging/python-pyOpenSSL.spec | 1 + 1 file changed, 1 insertion(+) 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)")} -- 2.7.4