From 6c3e59b79df15265521ff3a62eba990b1334b36adff054834192e3772b18f0fc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Feb 2021 13:03:33 +0000 Subject: [PATCH] Accepting request 870246 from home:mcalabkova:branches:devel:languages:python - %ifpython3 does not work with new multi-build python OBS-URL: https://build.opensuse.org/request/show/870246 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testrepository?expand=0&rev=42 --- python-testrepository.changes | 5 +++++ python-testrepository.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-testrepository.changes b/python-testrepository.changes index 5db58e1..64722a4 100644 --- a/python-testrepository.changes +++ b/python-testrepository.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 8 11:17:44 UTC 2021 - Markéta Machová + +- %ifpython3 does not work with new multi-build python + ------------------------------------------------------------------- Tue Mar 26 16:00:06 UTC 2019 - Tomáš Chvátal diff --git a/python-testrepository.spec b/python-testrepository.spec index fc676e3..432a49c 100644 --- a/python-testrepository.spec +++ b/python-testrepository.spec @@ -1,7 +1,7 @@ # # spec file for package python-testrepository # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,7 +46,7 @@ Requires: python-testtools >= 0.9.30 Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch -%ifpython3 +%if "%python_flavor" != "python2" Requires: python-dbm %endif %python_subpackages