diff --git a/python-nltk.changes b/python-nltk.changes index b214885..bf61486 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 10 16:19:17 UTC 2019 - John Vandenberg + +- Remove Python 3 dependency on singledispatch + ------------------------------------------------------------------- Sat Feb 9 16:16:11 UTC 2019 - John Vandenberg diff --git a/python-nltk.spec b/python-nltk.spec index 06c54c1..4cd58e6 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -34,7 +34,9 @@ BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-singledispatch +%ifpython2 +Requires: python2-singledispatch +%endif Requires: python-six Recommends: python-gensim Recommends: python-matplotlib