From f09fb5a7a1e01fa62fc1b537f1d6db7b9b60b23f756321557e475ca2545dcfe0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 20 Mar 2018 14:49:00 +0000 Subject: [PATCH] Accepting request 583651 from home:aplanas:branches:devel:languages:python Allows Recommends and Suggest in Fedora OBS-URL: https://build.opensuse.org/request/show/583651 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Paste?expand=0&rev=20 --- python-Paste.changes | 11 +++++++++++ python-Paste.spec | 10 ++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/python-Paste.changes b/python-Paste.changes index e4c954b..d771ace 100644 --- a/python-Paste.changes +++ b/python-Paste.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Mar 6 17:00:13 UTC 2018 - aplanas@suse.com + +- Allows Recommends and Suggest in Fedora + +------------------------------------------------------------------- +Tue Feb 27 13:47:03 UTC 2018 - aplanas@suse.com + +- Suggest only for SUSE +- Use %{__python3} macro + ------------------------------------------------------------------- Wed Aug 9 16:21:38 UTC 2017 - tbechtold@suse.com diff --git a/python-Paste.spec b/python-Paste.spec index d1eaa60..03c270a 100644 --- a/python-Paste.spec +++ b/python-Paste.spec @@ -1,7 +1,7 @@ # # spec file for package python-Paste # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,16 +38,22 @@ BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx # Test build requirements: BuildRequires: %{python_module nose} +%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Suggests: python-flup +%endif Requires: python-six > 1.4.0 %ifpython2 +%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Suggests: python-python-openid +%endif Provides: %{oldpython}-paste = %{version} Obsoletes: %{oldpython}-paste < %{version} %endif %ifpython3 +%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Suggests: python3-python3-openid %endif +%endif BuildArch: noarch %python_subpackages @@ -68,7 +74,7 @@ rm paste/util/template.py.orig %build %python_build -python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo +%{__python3} setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install %python_install