diff --git a/python-text-unidecode.changes b/python-text-unidecode.changes index 6862751..d985475 100644 --- a/python-text-unidecode.changes +++ b/python-text-unidecode.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 14 14:48:04 UTC 2019 - Tomáš Chvátal + +- Update to 1.2: + * Use pkgutil instead of pkg_resources + * Cleanup readme +- Execute testsuite + ------------------------------------------------------------------- Tue Dec 4 12:55:14 UTC 2018 - Matej Cepl diff --git a/python-text-unidecode.spec b/python-text-unidecode.spec index 2893ca0..4605303 100644 --- a/python-text-unidecode.spec +++ b/python-text-unidecode.spec @@ -1,7 +1,7 @@ # # spec file for package python-text-unidecode # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-text-unidecode -Version: 1.1 +Version: 1.2 Release: 0 Summary: The most basic Text::Unidecode port License: Artistic-1.0 Group: Development/Languages/Python URL: https://github.com/kmike/text-unidecode/ Source: https://files.pythonhosted.org/packages/source/t/text-unidecode/text-unidecode-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -51,6 +52,9 @@ This port is licensed under Artistic License and supports both Python %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v + %files %{python_files} %license LICENSE %doc README.rst diff --git a/text-unidecode-1.1.tar.gz b/text-unidecode-1.1.tar.gz deleted file mode 100644 index f6a4ff0..0000000 --- a/text-unidecode-1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d0afd5e8a7ac69bfb1372e1bbfa3c63c22e3db8ae1284690e96b45c4430d08d0 -size 76843 diff --git a/text-unidecode-1.2.tar.gz b/text-unidecode-1.2.tar.gz new file mode 100644 index 0000000..5d9554c --- /dev/null +++ b/text-unidecode-1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a1375bb2ba7968740508ae38d92e1f889a0832913cb1c447d5e2046061a396d +size 76872