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
This commit is contained in:
Tomáš Chvátal 2018-01-16 11:13:02 +00:00 committed by Git OBS Bridge
parent 75a9f175cc
commit 2b2a542364
2 changed files with 8 additions and 1 deletions

View File

@ -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 Tue Dec 19 15:50:13 UTC 2017 - badshah400@gmail.com

View File

@ -14,7 +14,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%{!?python_module:%define python_module() python-%{**} python3-%{**}}
%define pyname nltk %define pyname nltk
Name: python-nltk Name: python-nltk
@ -25,6 +25,7 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://nltk.org/ Url: http://nltk.org/
Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: fdupes BuildRequires: fdupes