From 8bb587ae827399abb22a71adb63f0c23d80b5561f74d4ce8892d872c30f37143 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 14 Nov 2019 18:06:46 +0000 Subject: [PATCH 1/3] - Add dependency on the full python (which is not pulled by setuptools anymore). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=25 --- python-freezegun.changes | 6 ++++++ python-freezegun.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-freezegun.changes b/python-freezegun.changes index 09bb21f..88b8c7f 100644 --- a/python-freezegun.changes +++ b/python-freezegun.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 14 19:05:26 CET 2019 - Matej Cepl + +- Add dependency on the full python (which is not pulled by + setuptools anymore). + ------------------------------------------------------------------- Tue Jul 2 18:11:23 CEST 2019 - Matej Cepl diff --git a/python-freezegun.spec b/python-freezegun.spec index c478b73..43df783 100644 --- a/python-freezegun.spec +++ b/python-freezegun.spec @@ -1,7 +1,7 @@ # # spec file for package python-freezegun # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,8 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil > 2.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: python +BuildRequires: python3 %ifpython2 BuildRequires: python-mock %endif From 78b00d1617ee04dcec81abcd568456e34075b97d5ff08b683be2c8640bbe2510 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 15 Nov 2019 11:39:24 +0000 Subject: [PATCH 2/3] Use %{pythons} macro now. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=26 --- python-freezegun.changes | 2 +- python-freezegun.spec | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python-freezegun.changes b/python-freezegun.changes index 88b8c7f..2ff7999 100644 --- a/python-freezegun.changes +++ b/python-freezegun.changes @@ -2,7 +2,7 @@ Thu Nov 14 19:05:26 CET 2019 - Matej Cepl - Add dependency on the full python (which is not pulled by - setuptools anymore). + setuptools anymore). Use %{pythons} macro now. ------------------------------------------------------------------- Tue Jul 2 18:11:23 CEST 2019 - Matej Cepl diff --git a/python-freezegun.spec b/python-freezegun.spec index 43df783..d68bb8d 100644 --- a/python-freezegun.spec +++ b/python-freezegun.spec @@ -33,8 +33,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil > 2.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: python -BuildRequires: python3 +BuildRequires: %{pythons} %ifpython2 BuildRequires: python-mock %endif From c506e73c17a5352d5d6e264ad167b2aeaf955fadda693b3b970f86a789c70a29 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 15 Nov 2019 12:24:31 +0000 Subject: [PATCH 3/3] Requires: python was missing OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=27 --- python-freezegun.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-freezegun.spec b/python-freezegun.spec index d68bb8d..ce0ae45 100644 --- a/python-freezegun.spec +++ b/python-freezegun.spec @@ -39,6 +39,7 @@ BuildRequires: python-mock %endif BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python Requires: python-python-dateutil > 2.0 Requires: python-six BuildArch: noarch