Accepting request 179954 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory. OBS-URL: https://build.opensuse.org/request/show/179954 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyenchant?expand=0&rev=7
This commit is contained in:
commit
2d3cf50367
@ -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
|
||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user