Accepting request 738364 from devel:languages:python

Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/request/show/738364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nltk?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-10-16 07:15:03 +00:00 committed by Git OBS Bridge
commit 51dfbc3159
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 14 14:00:43 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 11 11:05:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Wed Sep 11 11:05:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -24,7 +24,6 @@ Version: 3.4.5
Release: 0 Release: 0
Summary: Natural Language Toolkit Summary: Natural Language Toolkit
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python
URL: http://nltk.org/ URL: http://nltk.org/
Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.zip Source: https://files.pythonhosted.org/packages/source/n/nltk/%{pyname}-%{version}.zip
BuildRequires: %{interps} BuildRequires: %{interps}
@ -73,7 +72,7 @@ sed -i "1,4{/\/usr\/bin\/env/d}" nltk/tokenize/stanford_segmenter.py
%install %install
%python_install %python_install
%{python_expand %fdupes -s %{buildroot}%{$python_sitelib}/ %{python_expand %fdupes %{buildroot}%{$python_sitelib}/
chmod -x %{buildroot}%{$python_sitelib}/nltk/test/dependency.doctest chmod -x %{buildroot}%{$python_sitelib}/nltk/test/dependency.doctest
} }