From eeaaaf5796f3a028b9712065d01f249fd20f2e02 Mon Sep 17 00:00:00 2001 From: albailey Date: Wed, 4 Mar 2020 17:02:35 -0600 Subject: [PATCH] Fix build break for python-html5lib and python-webencodings The lst files which stage the downloaded tarballs were altering the internal directory structure during the mirror download phase, which meant the %setup commands in the spec files were failing. This change adapts the spec files to the files downloaded from the mirror. Change-Id: I8031c8af0f424a8e19bee062a4df6ddf3383f38d Closes-Bug: 1866133 Signed-off-by: albailey --- python/python-html5lib/centos/python-html5lib.spec | 2 +- python/python-webencodings/centos/python-webencodings.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/python-html5lib/centos/python-html5lib.spec b/python/python-html5lib/centos/python-html5lib.spec index 85fd4bd7b..1507688f7 100644 --- a/python/python-html5lib/centos/python-html5lib.spec +++ b/python/python-html5lib/centos/python-html5lib.spec @@ -37,7 +37,7 @@ Python library for parsing HTML %endif # with_python3 %prep -%setup +%setup -q -n html5lib-%{version} %build diff --git a/python/python-webencodings/centos/python-webencodings.spec b/python/python-webencodings/centos/python-webencodings.spec index a9f88b605..507e99a33 100644 --- a/python/python-webencodings/centos/python-webencodings.spec +++ b/python/python-webencodings/centos/python-webencodings.spec @@ -23,7 +23,7 @@ Summary: This is a Python implementation of the WHATWG Encoding standard. This is a Python implementation of the WHATWG Encoding standard. %prep -%setup +%setup -q -n webencodings-%{version} %build export PBR_VERSION=%{version}