From 08d3f27819df51d2626d0803e4b95e4ed265fe1d Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Tue, 17 Dec 2019 14:11:37 +0100 Subject: [PATCH] declare bundled old construct module instead of needlessly requiring it This was missed in e04ae5ab8323b7321ee6b3170c9c389e83356cdc . --- pyelftools.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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)