diff --git a/python3.9.spec b/python3.9.spec index 8c73d49..91db891 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -219,8 +219,7 @@ BuildRequires: bluez-libs-devel BuildRequires: bzip2 BuildRequires: bzip2-devel BuildRequires: desktop-file-utils -# See the runtime requirement in the -libs subpackage -BuildRequires: expat-devel >= 2.6 +BuildRequires: expat-devel BuildRequires: findutils BuildRequires: gcc-c++ @@ -624,14 +623,6 @@ Recommends: (%{pkgname}-tkinter%{?_isa} = %{version}-%{release} if tk%{?_isa}) # The zoneinfo module needs tzdata Requires: tzdata -# The requirement on libexpat is generated, but we need to version it. -# When built with expat >= 2.6, but installed with older expat, we get: -# ImportError: /usr/lib64/python3.X/lib-dynload/pyexpat.cpython-....so: -# undefined symbol: XML_SetReparseDeferralEnabled -# This breaks many things, including python -m venv. -# Other subpackages (like -debug) also need this, but they all depend on -libs. -Requires: expat >= 2.6 - # https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package # In Fedora 31, several "unversioned" files like /usr/bin/pydoc and all the # "unversioned" provides were moved from python2 to python3. @@ -834,14 +825,6 @@ Provides: bundled(libmpdec) = %{libmpdec_version} # The zoneinfo module needs tzdata Requires: tzdata -# The requirement on libexpat is generated, but we need to version it. -# When built with expat >= 2.6, but installed with older expat, we get: -# ImportError: /usr/lib64/python3.X/lib-dynload/pyexpat.cpython-....so: -# undefined symbol: XML_SetReparseDeferralEnabled -# This breaks many things, including python -m venv. -# Other subpackages (like -debug) also need this, but they all depend on -libs. -Requires: expat >= 2.6 - # Provides of the subpackages contained in flatpackage Provides: %{pkgname}-libs = %{version}-%{release} Provides: %{pkgname}-devel = %{version}-%{release}