diff --git a/python-snowballstemmer.changes b/python-snowballstemmer.changes index 5fe0b29..b27ffa6 100644 --- a/python-snowballstemmer.changes +++ b/python-snowballstemmer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:25 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Jun 1 21:02:52 UTC 2017 - dmueller@suse.com diff --git a/python-snowballstemmer.spec b/python-snowballstemmer.spec index 0bc9b3f..9500139 100644 --- a/python-snowballstemmer.spec +++ b/python-snowballstemmer.spec @@ -1,7 +1,7 @@ # # spec file for package python-snowballstemmer # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +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 devel} +BuildRequires: %{python_module base} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -50,6 +51,7 @@ accelerate. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %defattr(-,root,root,-)