17
0

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

- update to version 1.3.1:
  * Fix issue with wheel package falsely claiming support for
    Python 2.
- update to version 1.3.0:
  * Drop support for Python <3.5.
  * Improvements to Hebrew and Yiddish transliterations (thanks to
    Alon Bar-Lev and @eyaler on GitHub)
- move update-alternative to postun instead of preun:
  fix rpmlint warning
- disable python2 build: unsupported by upstream now

OBS-URL: https://build.opensuse.org/request/show/917818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Unidecode?expand=0&rev=32
This commit is contained in:
2021-10-16 09:39:18 +00:00
committed by Git OBS Bridge
parent 1da548b0c7
commit c8d67df825
4 changed files with 25 additions and 6 deletions

View File

@@ -16,9 +16,10 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Unidecode
Version: 1.2.0
Version: 1.3.1
Release: 0
Summary: ASCII transliterations of Unicode text
License: GPL-2.0-or-later
@@ -29,7 +30,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(preun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -90,7 +91,7 @@ export LANG=en_US.UTF-8
%post
%python_install_alternative unidecode
%preun
%postun
%python_uninstall_alternative unidecode
%files %{python_files}