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
This commit is contained in:
Dirk Mueller 2018-03-20 14:49:00 +00:00 committed by Git OBS Bridge
parent 5db97f49a7
commit f09fb5a7a1
2 changed files with 19 additions and 2 deletions

View File

@ -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

View File

@ -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