diff --git a/python-SoundCard.changes b/python-SoundCard.changes index 9a67283..a24d86b 100644 --- a/python-SoundCard.changes +++ b/python-SoundCard.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Feb 26 11:08:45 UTC 2021 - Antonio Larrosa + +- Do not build the python36 flavor on TW since numpy is a build + dependency and it doesn't support python 3.6 anymore. + +------------------------------------------------------------------- +Thu Feb 25 11:38:10 UTC 2021 - Antonio Larrosa + +- Require the pulseaudio-daemon capability instead of the + pulseaudio package, so alternative implementations can be used + (boo#1182730). + ------------------------------------------------------------------- Tue Jul 21 05:39:41 UTC 2020 - Steve Kowalik diff --git a/python-SoundCard.spec b/python-SoundCard.spec index 2d4b49e..07da7a6 100644 --- a/python-SoundCard.spec +++ b/python-SoundCard.spec @@ -1,7 +1,7 @@ # # spec file for package python-SoundCard # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,6 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%if 0%{suse_version} >= 1550 +%define skip_python36 1 +%endif Name: python-SoundCard Version: 0.4.0 Release: 0 @@ -32,7 +35,11 @@ BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{?sle_version} && 0%{?sle_version} < 150300 Requires: pulseaudio +%else +Requires: pulseaudio-daemon +%endif Requires: python-cffi Requires: python-numpy BuildArch: noarch