Accepting request 654076 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xcffib?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-12-13 18:45:26 +00:00 committed by Git OBS Bridge
commit 41639116db
2 changed files with 20 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:56:16 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Wed Apr 19 19:44:53 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-xcffib
#
# Copyright (c) 2017 SUSE LINUX Products 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,35 +12,33 @@
# 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/
#
# Missing files for tests
%bcond_with tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Missing files for tests
%bcond_with tests
Name: python-xcffib
Version: 0.5.1
Release: 0
License: Apache-2.0
Summary: A drop in replacement for xpyb, an XCB python binding
Url: http://github.com/tych0/xcffib
License: Apache-2.0
Group: Development/Languages/Python
URL: http://github.com/tych0/xcffib
Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: libxcb-devel
BuildRequires: python-rpm-macros
Requires: python-cffi
Requires: python-six
BuildArch: noarch
%if %{with tests}
BuildRequires: %{python_module nose}
%endif
Requires: python-cffi
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@ -63,8 +61,8 @@ replacement for xpyb.
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.md
%license LICENSE
%doc README.md
%{python_sitelib}/xcffib/
%{python_sitelib}/xcffib-%{version}-py*.egg-info