From 0d1407f509737ac9a09bbcfe8971c67c0b2ff509468879a64b80d58e91568ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 12 Jun 2023 08:24:01 +0000 Subject: [PATCH] Accepting request 1092160 from home:ecsos:python - Fix build error in Leap. Change %autopatch -p1 -m 1 to %patch1 -p1 OBS-URL: https://build.opensuse.org/request/show/1092160 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=107 --- python-tox.changes | 6 ++++++ python-tox.spec | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-tox.changes b/python-tox.changes index afe8895..c159172 100644 --- a/python-tox.changes +++ b/python-tox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 9 07:26:58 UTC 2023 - ecsos + +- Fix build error in Leap. + Change %autopatch -p1 -m 1 to %patch1 -p1 + ------------------------------------------------------------------- Fri Jun 2 13:53:39 UTC 2023 - Dan Čermák diff --git a/python-tox.spec b/python-tox.spec index a67dad6..3e248df 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -66,17 +66,17 @@ BuildRequires: python-rpm-macros BuildRequires: unzip BuildRequires: (python3-importlib-metadata >= 0.12 if python3-base < 3.8) BuildRequires: (python36-importlib-metadata >= 0.12 if python36-base) +Requires: python-cachetools +Requires: python-chardet +Requires: python-colorama Requires: python-filelock >= 3.0.0 Requires: python-packaging >= 14 +Requires: python-platformdirs >= 3.5.1 Requires: python-pluggy >= 0.12.0 +Requires: python-pyproject-api Requires: python-tomli >= 2.0.1 Requires: python-virtualenv >= 20.0.8 Requires: (python-importlib-metadata >= 0.12 if python3-base < 3.8) -Requires: python-colorama -Requires: python-chardet -Requires: python-cachetools -Requires: python-pyproject-api -Requires: python-platformdirs >= 3.5.1 Requires(post): update-alternatives Requires(postun):update-alternatives # last detox version is 0.19 @@ -117,7 +117,7 @@ use for: %if %{without devpi_process} %patch0 -p1 %endif -%autopatch -p1 -m 1 +%patch1 -p1 %build export LANG=en_US.UTF8