Accepting request 659569 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pulsectl?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-12-24 10:41:32 +00:00 committed by Git OBS Bridge
commit 33d8f0d81f
2 changed files with 18 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:51:49 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Jan 5 09:16:09 UTC 2018 - alarrosa@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pulsectl
#
# 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,8 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@ -20,24 +21,22 @@
Name: python-pulsectl
Version: 17.12.2
Release: 0
License: MIT
Summary: Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)
Url: http://github.com/mk-fg/python-pulse-control
License: MIT
Group: Development/Languages/Python
URL: http://github.com/mk-fg/python-pulse-control
Source: https://files.pythonhosted.org/packages/source/p/pulsectl/pulsectl-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: pulseaudio >= 5.0
Requires: python-setuptools
BuildArch: noarch
%if %{with test}
BuildRequires: libpulse-devel >= 5.0
BuildRequires: pulseaudio
BuildRequires: pulseaudio-utils
BuildRequires: libpulse-devel >= 5.0
%endif
BuildRequires: fdupes
Requires: python-setuptools
Requires: pulseaudio >= 5.0
BuildArch: noarch
%python_subpackages
%description
@ -62,8 +61,8 @@ play, player-like client).
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES.rst COPYING README.rst
%license COPYING
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%changelog