diff --git a/python-pulsectl.changes b/python-pulsectl.changes index c9139a5..7b3d545 100644 --- a/python-pulsectl.changes +++ b/python-pulsectl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:51:49 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Jan 5 09:16:09 UTC 2018 - alarrosa@suse.com diff --git a/python-pulsectl.spec b/python-pulsectl.spec index 16f012f..49058b6 100644 --- a/python-pulsectl.spec +++ b/python-pulsectl.spec @@ -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,22 +21,21 @@ 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: python-rpm-macros %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 +Requires: python-setuptools BuildArch: noarch %python_subpackages