Accepting request 653989 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/653989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-construct?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2018-12-06 11:14:27 +00:00 committed by Git OBS Bridge
commit eb130de038
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:46:54 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sat Aug 26 16:52:44 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-construct
#
# 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,16 +23,14 @@ Release: 0
Summary: A declarative parser/builder for binary data
License: MIT
Group: Development/Languages/Python
Url: http://construct.readthedocs.org
URL: http://construct.readthedocs.org
Source: https://files.pythonhosted.org/packages/source/c/construct/construct-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE split_debug.patch matwey.kornilov@gmail.com -- make debug.py non-loadable
Patch0: split_debug.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -56,8 +54,8 @@ and in the other direction to convert ("build") objects into binary data.
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%license LICENSE
%doc README.rst
%{python_sitelib}/construct
%{python_sitelib}/construct-%{version}-py%{python_version}.egg-info