From 39e614931645bbbc8751fe811f98bbc959ae42f3dac79203987aa34cba672bb3 Mon Sep 17 00:00:00 2001 From: Petr Cervinka Date: Mon, 2 Dec 2019 15:16:28 +0000 Subject: [PATCH] Accepting request 752951 from home:glaubitz:branches:devel:languages:python:flask - Fix build on SLE-12 + Add python to BuildRequires for suse_version < 1500 OBS-URL: https://build.opensuse.org/request/show/752951 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-Flask?expand=0&rev=9 --- python-Flask.changes | 6 ++++++ python-Flask.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-Flask.changes b/python-Flask.changes index 76fa2b3..8c59c2a 100644 --- a/python-Flask.changes +++ b/python-Flask.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 2 13:51:57 UTC 2019 - John Paul Adrian Glaubitz + +- Fix build on SLE-12 + + Add python to BuildRequires for suse_version < 1500 + ------------------------------------------------------------------- Fri Nov 8 05:29:38 UTC 2019 - Steve Kowalik diff --git a/python-Flask.spec b/python-Flask.spec index 1b6fbd5..a12ba64 100644 --- a/python-Flask.spec +++ b/python-Flask.spec @@ -1,7 +1,7 @@ # # spec file for package python-Flask # -# 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 @@ -34,6 +34,9 @@ BuildRequires: %{python_module itsdangerous >= 0.24} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +%if %{?suse_version} < 1500 +BuildRequires: python +%endif BuildRequires: python-rpm-macros Requires: python-Jinja2 >= 2.10 Requires: python-Werkzeug >= 0.15