diff --git a/python-snowballstemmer.spec b/python-snowballstemmer.spec index 023dae2..9500139 100644 --- a/python-snowballstemmer.spec +++ b/python-snowballstemmer.spec @@ -25,6 +25,8 @@ License: BSD-2-Clause Group: Development/Languages/Python Url: https://github.com/shibukawa/snowball_py Source: https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-%{version}.tar.gz +BuildRequires: %{python_module base} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -49,6 +51,7 @@ accelerate. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %defattr(-,root,root,-)