forked from pool/python-pydub
Accepting request 1175333 from home:alarrosa:branches:devel:languages:python
- If ffmpeg_pref is defined, use it, otherwise use ffmpeg-6 or ffmpeg-4 depening on suse_version. OBS-URL: https://build.opensuse.org/request/show/1175333 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydub?expand=0&rev=24
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri May 17 11:30:40 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
@@ -16,11 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?!ffmpeg_pref:1}
|
||||||
%if 0%{?suse_version} >= 1550
|
%if 0%{?suse_version} >= 1550
|
||||||
%define ffmpeg_pref ffmpeg-6
|
%define ffmpeg_pref ffmpeg-6
|
||||||
%else
|
%else
|
||||||
%define ffmpeg_pref ffmpeg-4
|
%define ffmpeg_pref ffmpeg-4
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: python-pydub
|
Name: python-pydub
|
||||||
Version: 0.25.1
|
Version: 0.25.1
|
||||||
@@ -34,13 +36,13 @@ 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_pref}
|
|
||||||
BuildConflicts: %{ffmpeg_pref}-mini-libs
|
BuildConflicts: %{ffmpeg_pref}-mini-libs
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: %{ffmpeg_pref}
|
Requires: %{ffmpeg_pref}
|
||||||
|
Reference in New Issue
Block a user