From abae00ad7f156e8ec772234da1e198da0ff32e0a8d5febd6cc238a57732bb78c Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 17 Jun 2013 12:52:59 +0000 Subject: [PATCH] Python3 moved to devel:languages:python3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=11 --- python-pyenchant.spec | 7 +++-- python3-pyenchant.changes | 17 ------------ python3-pyenchant.spec | 58 --------------------------------------- 3 files changed, 4 insertions(+), 78 deletions(-) delete mode 100644 python3-pyenchant.changes delete mode 100644 python3-pyenchant.spec diff --git a/python-pyenchant.spec b/python-pyenchant.spec index e86bc07..9deda44 100644 --- a/python-pyenchant.spec +++ b/python-pyenchant.spec @@ -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 diff --git a/python3-pyenchant.changes b/python3-pyenchant.changes deleted file mode 100644 index fe44235..0000000 --- a/python3-pyenchant.changes +++ /dev/null @@ -1,17 +0,0 @@ -------------------------------------------------------------------- -Thu Nov 22 14:02:14 UTC 2012 - toddrme2178@gmail.com - -- Removed openSUSE 11.4 spec file workarounds - -------------------------------------------------------------------- -Fri May 4 09:27:09 UTC 2012 - toddrme2178@gmail.com - -- Add full url to source -- Make python 3 package noarch like the python 2 package -- Fix rpmlint warnings - -------------------------------------------------------------------- -Mon Apr 30 14:52:01 UTC 2012 - toddrme2178@gmail.com - -- Add python 3 package -- Clean up python 2 spec file diff --git a/python3-pyenchant.spec b/python3-pyenchant.spec deleted file mode 100644 index a44619d..0000000 --- a/python3-pyenchant.spec +++ /dev/null @@ -1,58 +0,0 @@ -# -# spec file for package python3-pyenchant -# -# Copyright (c) 2012 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 -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# 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: python3-%{modname} -Version: 1.6.5 -Release: 0 -Url: http://www.rfk.id.au/software/pyenchant/ -Summary: Python bindings for the Enchant spellchecking system -License: LGPL-2.1+ -Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: enchant -BuildRequires: python3 -BuildRequires: python3-2to3 -BuildRequires: python3-devel -BuildRequires: python3-distribute -Provides: PyEnchant = %{version} -Obsoletes: PyEnchant < %{version} -BuildArch: noarch -Requires: enchant -Requires: python(abi) = %{py3_ver} - -%description -PyEnchant is a spellchecking library for Python, based on the excellent Enchant library. - -%prep -%setup -q -n %{modname}-%{version} - -%build -python3 setup.py build - -%install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} - -%files -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt TODO.txt -%{python3_sitelib}/%{pyname} -%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info - -%changelog