Tomáš Chvátal 2020-03-20 08:08:07 +00:00 committed by Git OBS Bridge
parent 6c4b1a30e2
commit 07f480b6ea
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 20 08:07:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build on Leap
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 16 21:00:48 UTC 2020 - Martin Hauke <mardnh@gmx.de> Mon Mar 16 21:00:48 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -23,12 +23,14 @@ Version: 0.2.0
Release: 0 Release: 0
Summary: Python bindings for FFmpeg Summary: Python bindings for FFmpeg
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/kkroening/ffmpeg-python URL: https://github.com/kkroening/ffmpeg-python
Source: https://github.com/kkroening/ffmpeg-python/archive/%{version}.tar.gz#/ffmpeg-python-%{version}.tar.gz Source: https://github.com/kkroening/ffmpeg-python/archive/%{version}.tar.gz#/ffmpeg-python-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-future
Recommends: ffmpeg
BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module future} BuildRequires: %{python_module future}
BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-mock}
@ -36,9 +38,6 @@ BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: ffmpeg BuildRequires: ffmpeg
# /SECTION # /SECTION
Requires: python-future
Recommends: ffmpeg
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -55,8 +54,9 @@ Python bindings for FFmpeg - with complex filtering support
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# skip some tests since we do not have ffmpeg with mp4-support on the public OBS instance # skip some tests since we do not have FFmpeg with mp4-support on the public OBS instance
%pytest -k 'not (test__run or test__run__multi_output)' # test_pipe - fails on Leap due to too old FFmpeg
%pytest -k 'not (test__run or test__run__multi_output or test_pipe)'
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE