From 06ad0cb3ae522840cd96c03b43561570a00fb26d220e465b9bfb4fe27df80508 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 12 Sep 2022 14:51:55 +0000 Subject: [PATCH] Accepting request 1002998 from home:dimstar:Factory - Only BuildRequire python38-backports.zoneinfo if python38-base is also present (i.e. do not require this when python38 is not a built python flavor). OBS-URL: https://build.opensuse.org/request/show/1002998 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tzlocal?expand=0&rev=31 --- python-tzlocal.changes | 7 +++++++ python-tzlocal.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-tzlocal.changes b/python-tzlocal.changes index 776ff75..594e4f8 100644 --- a/python-tzlocal.changes +++ b/python-tzlocal.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 12 14:44:51 UTC 2022 - Dominique Leuenberger + +- Only BuildRequire python38-backports.zoneinfo if python38-base is + also present (i.e. do not require this when python38 is not a + built python flavor). + ------------------------------------------------------------------- Tue Apr 19 11:54:54 UTC 2022 - pgajdos@suse.com diff --git a/python-tzlocal.spec b/python-tzlocal.spec index 5239191..d88f217 100644 --- a/python-tzlocal.spec +++ b/python-tzlocal.spec @@ -33,7 +33,7 @@ BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python38-backports.zoneinfo +BuildRequires: (python38-backports.zoneinfo if python38-base) Requires: python-pytz Requires: python-pytz-deprecation-shim BuildArch: noarch