diff --git python-jellyfish/python-jellyfish.spec python-jellyfish/python-jellyfish.spec.tmp index ae9fb3728b..c55a8c746f 100644 --- python-jellyfish/python-jellyfish.spec +++ python-jellyfish/python-jellyfish.spec.tmp @@ -10,7 +10,7 @@ Name: python-%{realname} Version: 0.5.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A python library for doing approximate and phonetic matching of strings Group: Development/Languages @@ -36,17 +36,25 @@ BuildRequires: python3-setuptools BuildRequires: python3-pytest %endif -%description -Jellyfish does approximate and phonetic string matching. It -includes the following string comparison algorithms: -Levenshtein Distance, Damerau-Levenshtein Distance, -Jaro Distance, Jaro-Winkler Distance, Match Rating Approach -Comparison and Hamming Distance - -And the following phonetic encodings: -American Soundex, Metaphone, NYSIIS (New York State Identification +%global _description\ +Jellyfish does approximate and phonetic string matching. It\ +includes the following string comparison algorithms:\ +Levenshtein Distance, Damerau-Levenshtein Distance,\ +Jaro Distance, Jaro-Winkler Distance, Match Rating Approach\ +Comparison and Hamming Distance\ +\ +And the following phonetic encodings:\ +American Soundex, Metaphone, NYSIIS (New York State Identification\ and Intelligence System), Match Rating Codex +%description %_description + +%package -n python2-%{realname} +Summary: %summary +%{?python_provide:%python_provide python2-%{realname}} + +%description -n python2-%{realname} %_description + %if %{with python3} %package -n python3-%{realname} Summary: A python library for doing approximate and phonetic matching of strings @@ -91,7 +99,7 @@ export PYTHONPATH=.; py.test-3 jellyfish/test.py %endif -%files +%files -n python2-%{realname} %license LICENSE %doc README.rst docs/comparison.rst docs/index.rst docs/phonetic.rst docs/stemming.rst docs/changelog.rst @@ -107,6 +115,10 @@ py.test-3 jellyfish/test.py %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.5.6-6 +- Python 2 binary package renamed to python2-jellyfish + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild