diff --git a/python-jellyfish.spec b/python-jellyfish.spec index 50d71b9..93e88d5 100644 --- a/python-jellyfish.spec +++ b/python-jellyfish.spec @@ -29,24 +29,32 @@ Patch2: mark-segfault-test-xfail.diff Patch3: nocimplementation-fix-0.5.4.patch BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python2-setuptools %if %{with python3} BuildRequires: python3-devel 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 @@ -110,6 +118,26 @@ py.test-3 jellyfish/test.py * Wed Apr 11 2018 Michele Baldessari - 0.6.0-1 - New upstream +* Fri Feb 09 2018 Fedora Release Engineering - 0.5.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 19 2018 Iryna Shcherbina - 0.5.6-7 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Sat Aug 19 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 + +* Sat Feb 11 2017 Fedora Release Engineering - 0.5.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.5.6-3 +- Rebuild for Python 3.6 + * Tue Jul 19 2016 Fedora Release Engineering - 0.5.6-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages