diff --git a/pyelftools.spec b/pyelftools.spec index eba2f63..06c1e06 100644 --- a/pyelftools.spec +++ b/pyelftools.spec @@ -40,7 +40,8 @@ and DWARF debugging information. %if 0%{?with_python2} %package -n python2-%{name} Summary: %{summary} -Requires: python2-construct +# https://github.com/eliben/pyelftools/issues/180 +Provides: bundled(python2-construct) = 2.6 BuildRequires: python2-devel BuildRequires: python2-setuptools BuildArch: noarch @@ -52,7 +53,8 @@ BuildArch: noarch %if 0%{?with_python3} %package -n python3-%{name} Summary: %{summary} -Requires: python3-construct +# https://github.com/eliben/pyelftools/issues/180 +Provides: bundled(python3-construct) = 2.6 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildArch: noarch @@ -140,6 +142,7 @@ popd - run readelf tests on x86_64 only for now - rename binaries to conform to Python packaging guidelines - enable python3 subpackage for EPEL7 +- declare bundled old construct module instead of needlessly requiring it * Thu Oct 03 2019 Miro HronĨok - 0.25-5 - Rebuilt for Python 3.8.0rc1 (#1748018)