From 98b8193440be2b65d067cfb8b236058b4fd65bcdc7393db4ff3a76e732fb3ee4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 1 Feb 2023 20:48:41 +0000 Subject: [PATCH] - skip testing with Django on SLE15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-factory_boy?expand=0&rev=26 --- python-factory_boy.changes | 5 +++++ python-factory_boy.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-factory_boy.changes b/python-factory_boy.changes index b7939d4..d7dd9cf 100644 --- a/python-factory_boy.changes +++ b/python-factory_boy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 1 20:48:11 UTC 2023 - Dirk Müller + +- skip testing with Django on SLE15 + ------------------------------------------------------------------- Sat Jan 15 16:04:33 UTC 2022 - Dirk Müller diff --git a/python-factory_boy.spec b/python-factory_boy.spec index fb8cc83..083a0ec 100644 --- a/python-factory_boy.spec +++ b/python-factory_boy.spec @@ -1,7 +1,7 @@ # # spec file for package python-factory_boy # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,9 @@ BuildRequires: %{python_module setuptools >= 0.8} BuildRequires: %{python_module typing_extensions} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: %{python_module Django if (%python-base without python36-base)} +%if 0%{suse_version} >= 1550 +BuildRequires: %{python_module Django} +%endif Requires: python-Faker >= 0.7.0 BuildArch: noarch %python_subpackages