14
0

Python3 moved to devel:languages:python3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=11
This commit is contained in:
Sascha Peilicke
2013-06-17 12:52:59 +00:00
committed by Git OBS Bridge
parent 5a7f217e5d
commit abae00ad7f
3 changed files with 4 additions and 78 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyenchant
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -11,10 +11,11 @@
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
%define pyname enchant
%define modname py%{pyname}
Name: python-%{modname}
@@ -31,8 +32,8 @@ BuildRequires: python-devel
BuildRequires: python-distribute
Requires: enchant
Obsoletes: python-enchant < %{version}
Provides: python-enchant = %{version}
Provides: PyEnchant
Provides: python-enchant = %{version}
%if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else