diff --git a/python-Levenshtein.changes b/python-Levenshtein.changes index 900883e..a56421e 100644 --- a/python-Levenshtein.changes +++ b/python-Levenshtein.changes @@ -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 diff --git a/python-Levenshtein.spec b/python-Levenshtein.spec index 6b0cc73..88c0bd4 100644 --- a/python-Levenshtein.spec +++ b/python-Levenshtein.spec @@ -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