diff --git a/.gitignore b/.gitignore index 23d8b4b..d65eeff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -/0.7.tar.gz -/0.9.1.tar.gz -/Pyphen-0.9.5.tar.gz +/0.*.tar.gz +/Pyphen-0.*.tar.gz diff --git a/python-pyphen.spec b/python-pyphen.spec index 0dafad8..dfffc15 100644 --- a/python-pyphen.spec +++ b/python-pyphen.spec @@ -2,15 +2,15 @@ %global modname pyphen Name: python-pyphen -Version: 0.9.5 -Release: 4%{?dist} +Version: 0.10.0 +Release: 1%{?dist} Summary: Pure Python module to hyphenate text License: GPLv2+ or LGPLv2+ or MPLv1.1 URL: https://github.com/Kozea/Pyphen -Source0: https://github.com/Kozea/%{srcname}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz +Source0: https://github.com/Kozea/%{srcname}/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz # tests not packaged in release tarballs # https://github.com/Kozea/Pyphen/issues/23 -Source1: https://raw.githubusercontent.com/Kozea/Pyphen/ad959cd78e212b6c0f851f202993d79b86a98a55/test.py +Source1: https://raw.githubusercontent.com/Kozea/Pyphen/4e3cac0c90d80ceb2d6209575a1b46cb812fe4b1/test.py BuildArch: noarch @@ -48,12 +48,15 @@ nosetests test.py %files -n python3-pyphen %license COPYING COPYING.GPL COPYING.LGPL COPYING.MPL -%doc README +%doc README.rst %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{srcname}-%{version}*.egg-info/ %changelog +* Sat Nov 07 2020 Felix Schwarz - 0.10.0-1 +- update to 0.10.0 + * Wed Jul 29 2020 Fedora Release Engineering - 0.9.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index e985325..476d5f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Pyphen-0.9.5.tar.gz) = 15b9a29517df2b873b5b8d4739d8fa48a09ab199ab9246c7a4fd25c46253a74a18a88fd9484978476b3b1c8d88fed7729382b9dbe4f425724fe54bcd6227de96 +SHA512 (Pyphen-0.10.0.tar.gz) = b6d789ca6eb010c1c79b28a9a0e68620ea5600adc43111bed5dbda3cb8b3a4c8c05caa3fb44ea60b0ef4a20272f17cf5e6fe61f0d1e48038395407ff53da7a92 diff --git a/test.py b/test.py index 858342d..a20b8e0 100644 --- a/test.py +++ b/test.py @@ -130,7 +130,7 @@ def test_fallback(): assert pyphen.language_fallback('en') == 'en' assert pyphen.language_fallback('en_US') == 'en_US' assert pyphen.language_fallback('en_FR') == 'en' - assert pyphen.language_fallback('en-Latn-US') == 'en_Latn_US' - assert pyphen.language_fallback('en-Cyrl-US') == 'en' + assert pyphen.language_fallback('sr-Latn') == 'sr_Latn' + assert pyphen.language_fallback('sr-Cyrl') == 'sr' assert pyphen.language_fallback('fr-Latn-FR') == 'fr' assert pyphen.language_fallback('en-US_variant1-x') == 'en_US'