Accepting request 663619 from home:alarrosa:branches:devel:languages:python:flask

- Use enchant 1 in SLE 15/Leap 15

OBS-URL: https://build.opensuse.org/request/show/663619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=21
This commit is contained in:
Tomáš Chvátal 2019-01-08 11:26:59 +00:00 committed by Git OBS Bridge
parent 541fc45db3
commit ffea347a31
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 8 10:48:47 UTC 2019 - alarrosa@suse.com
- Use enchant 1 in SLE 15/Leap 15
-------------------------------------------------------------------
Fri Aug 24 13:01:16 UTC 2018 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pyenchant
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -28,14 +28,22 @@ URL: https://github.com/rfk/pyenchant/
Source: https://files.pythonhosted.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz
Patch0: enchant2.patch
BuildRequires: %{python_module setuptools}
%if 0%{?suse_version} > 1500
BuildRequires: enchant-2-backend-hunspell
%else
BuildRequires: enchant
%endif
BuildRequires: fdupes
BuildRequires: myspell-en
BuildRequires: myspell-en_AU
BuildRequires: myspell-en_US
BuildRequires: python-rpm-macros
BuildRequires: python3-2to3
%if 0%{?suse_version} > 1500
Requires: enchant-2-backend-hunspell
%else
Requires: enchant
%endif
Provides: python-enchant
BuildArch: noarch
%ifpython2