Accepting request 655849 from devel:languages:python

- Remove superfluous devel dependency for noarch package, but
  keep testsuite passing.

OBS-URL: https://build.opensuse.org/request/show/655849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-itsdangerous?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2018-12-14 19:46:49 +00:00 committed by Git OBS Bridge
commit fc08194d88
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 4 12:49:25 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package, but
keep testsuite passing.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 4 15:53:02 UTC 2017 - jmatejek@suse.com Tue Apr 4 15:53:02 UTC 2017 - jmatejek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-itsdangerous # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Summary: Various helpers to pass trusted data to untrusted environments and back
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python 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 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 BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -52,10 +52,11 @@ Also I plan to add some extra things. Work in progress.
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc CHANGES LICENSE README %doc CHANGES README
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog