14
0

Accepting request 121378 from home:TheBlackCat:branches:devel:languages:python

- Add full url to source
- Make python 3 package noarch like the python 2 package
- Fix rpmlint warnings

OBS-URL: https://build.opensuse.org/request/show/121378
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=7
This commit is contained in:
Todd R
2012-05-18 09:31:39 +00:00
committed by Git OBS Bridge
parent 5e2538953b
commit 05c363b6b8
4 changed files with 32 additions and 18 deletions

View File

@@ -15,16 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define modname enchant
%define tarname py%{modname}
Name: python-%{tarname}
%define pyname enchant
%define modname py%{pyname}
Name: python-%{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: %{tarname}-%{version}.tar.gz
Source: http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: enchant
BuildRequires: python-devel
@@ -43,7 +43,7 @@ BuildArch: noarch
PyEnchant is a spellchecking library for Python, based on the excellent Enchant library.
%prep
%setup -q -n %{tarname}-%{version}
%setup -q -n %{modname}-%{version}
%build
python setup.py build
@@ -54,7 +54,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt TODO.txt
%{python_sitelib}/%{modname}
%{python_sitelib}/%{tarname}-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/%{pyname}
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
%changelog