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