From: DongHun Kwak Date: Wed, 12 Feb 2025 02:39:15 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/base/20250227.004338^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_base;p=platform%2Fupstream%2Fpython3.git Fix build error duplicated packaging issue [ 49s] file /usr/lib/python3.13/__phello__/__pycache__/__init__.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/__phello__/__pycache__/__init__.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/__phello__/__pycache__/__init__.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/__phello__/__pycache__/spam.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/__phello__/__pycache__/spam.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/__phello__/__pycache__/spam.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/lib-dynload/_sha2.cpython-313-arm-linux-gnueabi.so conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/lib-dynload/_testclinic.cpython-313-arm-linux-gnueabi.so conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/lib-dynload/_testsinglephase.cpython-313-arm-linux-gnueabi.so conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/lib-dynload/xxlimited_35.cpython-313-arm-linux-gnueabi.so conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/lib-dynload/xxsubtype.cpython-313-arm-linux-gnueabi.so conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/__init__.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/__init__.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/__init__.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_casefix.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_casefix.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_casefix.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_compiler.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_compiler.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_compiler.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_constants.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_constants.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_constants.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_parser.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_parser.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/re/__pycache__/_parser.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/__init__.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/__init__.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/__init__.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_parser.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_parser.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_parser.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_re.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_re.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_re.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_types.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_types.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/tomllib/__pycache__/_types.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/__pycache__/__init__.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/__pycache__/__init__.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/__pycache__/__init__.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/__pycache__/__main__.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/__pycache__/__main__.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/__pycache__/__main__.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/_path/__pycache__/__init__.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/_path/__pycache__/__init__.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/_path/__pycache__/__init__.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/_path/__pycache__/glob.cpython-313.opt-1.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/_path/__pycache__/glob.cpython-313.opt-2.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l [ 49s] file /usr/lib/python3.13/zipfile/_path/__pycache__/glob.cpython-313.pyc conflicts between attempted installs of python3-3.13.1-1.1.armv7l and python3-base-3.13.1-1.3.armv7l Change-Id: I925484856ba8ee1f8d468001d7eef9fb24d8f6a6 --- diff --git a/packaging/python3.spec b/packaging/python3.spec index 56c4b9f4..bf902699 100644 --- a/packaging/python3.spec +++ b/packaging/python3.spec @@ -253,7 +253,7 @@ for module in \ html http \ importlib json logging multiprocessing pydoc_data unittest \ urllib venv wsgiref lib2to3 test idlelib turtledemo zoneinfo \ - _pyrepl pathlib sysconfig + _pyrepl pathlib sysconfig __phello__ re tomllib zipfile do rm -rf %{buildroot}%{sitedir}/$module done @@ -265,9 +265,10 @@ for library in \ parser _pickle _posixsubprocess _queue _random resource select _ssl _socket spwd \ _struct syslog termios _testbuffer _testimportmultiple _testmultiphase \ unicodedata zlib _ctypes_test _testcapi xxlimited \ - _xxtestfuzz _md5 _sha1 _sha256 _sha512 _blake2 _sha3 \ + _xxtestfuzz _md5 _sha1 _sha2 _sha256 _sha512 _blake2 _sha3 \ _elementtree _posixshmem _sqlite3 _statistics _testinternalcapi \ _xxsubinterpreters _zoneinfo pyexpat readline \ + _testclinic _testsinglephase xxlimited_35 xxsubtype \ _interpchannels _interpqueues _interpreters _testclinic_limited \ _testexternalinspection _testlimitedcapi do @@ -293,21 +294,11 @@ rm -f $RPM_BUILD_ROOT%{sitedir}/lib-dynload/_gdbm.* %dir %{sitedir}/lib-dynload %license LICENSE -%{dynlib _sha2} -%{dynlib _testclinic} -%{dynlib _testsinglephase} -%{dynlib xxlimited_35} -%{dynlib xxsubtype} - %{sitedir}/ensurepip %{sitedir}/sqlite3 %exclude %{sitedir}/sqlite3/test %{sitedir}/xml %{sitedir}/xmlrpc -%{sitedir}/__phello__ -%{sitedir}/re -%{sitedir}/tomllib -%{sitedir}/zipfile %changelog