From 2b2a5423645e2365efbad82b97b14331e1957f64d4818aaa017fd1a0531ecf0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 16 Jan 2018 11:13:02 +0000 Subject: [PATCH] Accepting request 566372 from home:RZLourenco:branches:devel:languages:python - Depend on python-rpm-macros - Build for both Python2 and Python3 OBS-URL: https://build.opensuse.org/request/show/566372 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=10 --- python-nltk.changes | 6 ++++++ python-nltk.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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