From 61c8579e5b73e1aabd1dba677b552f7927edda0b20002e34dbbf12f8d41e6c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 30 Jul 2018 07:33:53 +0000 Subject: [PATCH] Accepting request 626059 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. Trim filler wording from description. OBS-URL: https://build.opensuse.org/request/show/626059 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=5 --- python-ftfy.changes | 5 +++++ python-ftfy.spec | 15 ++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/python-ftfy.changes b/python-ftfy.changes index bf4a95c..f21e757 100644 --- a/python-ftfy.changes +++ b/python-ftfy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 29 11:07:27 UTC 2018 - jengelh@inai.de + +- Use noun phrase in summary. Trim filler wording from description. + ------------------------------------------------------------------- Wed May 16 16:10:48 UTC 2018 - toddrme2178@gmail.com diff --git a/python-ftfy.spec b/python-ftfy.spec index 0853482..9ae18fa 100644 --- a/python-ftfy.spec +++ b/python-ftfy.spec @@ -13,6 +13,7 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,10 +21,10 @@ Name: python-ftfy Version: 5.3.0 Release: 0 +Summary: Python module for repairing mis-decoded Unicode text License: MIT -Summary: Fixes some problems with Unicode text after the fact -Url: http://github.com/LuminosoInsight/python-ftfy Group: Development/Languages/Python +Url: http://github.com/LuminosoInsight/python-ftfy Source: https://files.pythonhosted.org/packages/source/f/ftfy/ftfy-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -31,8 +32,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module nose} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} # /SECTION Requires: python-wcwidth @@ -41,12 +42,8 @@ BuildArch: noarch %python_subpackages %description -Ftfy makes Unicode text less broken and more consistent. - -The most interesting kind of brokenness that this resolves -is when someone has encoded Unicode with one standard and -decoded it with a different one. - +Ftfy attempts to repair Unicode text that has been erroneously +put through an encode/decode cycle with different encodings. %prep %setup -q -n ftfy-%{version}