14
0

Accepting request 266005 from home:benoit_monin:branches:devel:languages:python

update to Unidecode 0.04.17
add %check section

OBS-URL: https://build.opensuse.org/request/show/266005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Unidecode?expand=0&rev=5
This commit is contained in:
Denisart Benjamin
2014-12-21 22:53:24 +00:00
committed by Git OBS Bridge
parent b5a380d68f
commit 89c140280a
4 changed files with 25 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Unidecode
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -13,18 +13,19 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-Unidecode
Version: 0.04.16
Version: 0.04.17
Release: 0
License: GPL-2.0+
Summary: ASCII transliterations of Unicode text
Url: https://pypi.python.org/pypi/Unidecode
License: GPL-2.0+
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/Unidecode
Source: http://pypi.python.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: fdupes
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -80,8 +81,11 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %buildroot/%_prefix
%check
python setup.py test
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog
%changelog