15
0

- Install license file

- Remove duplicates
  * Added Python 3 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Levenshtein?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal
2018-08-02 07:31:35 +00:00
committed by Git OBS Bridge
parent f4d0504572
commit ef780a54c3
2 changed files with 14 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 2 07:30:59 UTC 2018 - tchvatal@suse.com
- Install license file
- Remove duplicates
-------------------------------------------------------------------
Fri Jun 30 13:37:49 UTC 2017 - jmatejek@suse.com
@@ -26,7 +32,7 @@ Sun Dec 21 23:27:33 UTC 2014 - termim@gmail.com
Thu Jan 30 13:50:25 UTC 2014 - elchevive@opensuse.org
- updated to version 0.11.1
Added Python 3 support
* Added Python 3 support
-------------------------------------------------------------------
Thu Oct 24 11:07:43 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Levenshtein
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,14 +21,14 @@ Name: python-Levenshtein
Version: 0.12.0
Release: 0
Summary: Python extension computing string distances and similarities
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Development/Languages/Python
Url: https://github.com/ztane/python-Levenshtein/
URL: https://github.com/ztane/python-Levenshtein/
Source0: https://files.pythonhosted.org/packages/source/p/python-Levenshtein/python-Levenshtein-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@@ -51,10 +51,11 @@ It supports both normal and Unicode strings.
%install
%python_install
rm -v %{buildroot}%{_libdir}/python*/*/Levenshtein/_levenshtein.{c,h}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%defattr(-,root,root)
%doc HISTORY.txt README.rst
%license COPYING
%doc HISTORY.txt README.rst NEWS
%{python_sitearch}/*
%changelog