diff --git a/python-nltk.changes b/python-nltk.changes index 58ecda3..7d39b18 100644 --- a/python-nltk.changes +++ b/python-nltk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 16 11:02:13 UTC 2018 - guigo.lourenco@gmail.com + +- Depend on python-rpm-macros +- Build for both Python2 and Python3 + ------------------------------------------------------------------- Tue Dec 19 15:50:13 UTC 2017 - badshah400@gmail.com diff --git a/python-nltk.spec b/python-nltk.spec index 9c477da..4a029a7 100644 --- a/python-nltk.spec +++ b/python-nltk.spec @@ -14,7 +14,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - +%{!?python_module:%define python_module() python-%{**} python3-%{**}} %define pyname nltk Name: python-nltk @@ -25,6 +25,7 @@ License: Apache-2.0 Group: Development/Languages/Python Url: http://nltk.org/ Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.tar.gz +BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes