forked from pool/python-pydub
Accepting request 1175473 from devel:languages:python
- If ffmpeg_pref is defined, use it, otherwise use ffmpeg-6 or ffmpeg-4 depening on suse_version. - Build with ffmpeg-6 in TW and ffmpeg-4 in Leap OBS-URL: https://build.opensuse.org/request/show/1175473 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydub?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 11:49:43 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- If ffmpeg_pref is defined, use it, otherwise use ffmpeg-6 or
|
||||||
|
ffmpeg-4 depening on suse_version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 11:30:40 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Build with ffmpeg-6 in TW and ffmpeg-4 in Leap
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 25 04:56:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Mon Mar 25 04:56:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?!ffmpeg_pref:1}
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
%define ffmpeg_pref ffmpeg-6
|
||||||
|
%else
|
||||||
|
%define ffmpeg_pref ffmpeg-4
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: python-pydub
|
Name: python-pydub
|
||||||
Version: 0.25.1
|
Version: 0.25.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -28,19 +36,19 @@ Source: https://github.com/jiaaro/pydub/archive/v%{version}.tar.gz#/pydu
|
|||||||
Patch0: skip_libopenh264-7.patch
|
Patch0: skip_libopenh264-7.patch
|
||||||
# PATCH-FIX-UPSTREAM gh#jiaaro/pydub#769
|
# PATCH-FIX-UPSTREAM gh#jiaaro/pydub#769
|
||||||
Patch1: fix-assertions.patch
|
Patch1: fix-assertions.patch
|
||||||
|
BuildRequires: %{ffmpeg_pref}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module scipy}
|
BuildRequires: %{python_module scipy}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: ffmpeg-5
|
BuildConflicts: %{ffmpeg_pref}-mini-libs
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: %{ffmpeg_pref}
|
||||||
Recommends: python-scipy
|
Recommends: python-scipy
|
||||||
Recommends: python-simpleaudio
|
Recommends: python-simpleaudio
|
||||||
Requires: ffmpeg-5
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Reference in New Issue
Block a user