diff --git a/python-itsdangerous.changes b/python-itsdangerous.changes index 6d18f4c..3c4dfaf 100644 --- a/python-itsdangerous.changes +++ b/python-itsdangerous.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 4 12:49:25 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package, but + keep testsuite passing. + ------------------------------------------------------------------- Tue Apr 4 15:53:02 UTC 2017 - jmatejek@suse.com diff --git a/python-itsdangerous.spec b/python-itsdangerous.spec index 1c2f59d..9ab525c 100644 --- a/python-itsdangerous.spec +++ b/python-itsdangerous.spec @@ -1,7 +1,7 @@ # # spec file for package python-itsdangerous # -# 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/ # @@ -23,11 +23,11 @@ Release: 0 Summary: Various helpers to pass trusted data to untrusted environments and back License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/mitsuhiko/itsdangerous +URL: http://github.com/mitsuhiko/itsdangerous Source: https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -52,10 +52,11 @@ Also I plan to add some extra things. Work in progress. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES LICENSE README +%license LICENSE +%doc CHANGES README %{python_sitelib}/* %changelog