- No more greedy globs in %files.

- Switch back to ffmpeg 5.
- Actually run fdupes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-audioread?expand=0&rev=25
This commit is contained in:
Steve Kowalik 2024-04-02 23:45:22 +00:00 committed by Git OBS Bridge
parent d4f8698c1f
commit 53bafd2d36
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 2 23:44:17 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- No more greedy globs in %files.
- Switch back to ffmpeg 5.
- Actually run fdupes.
-------------------------------------------------------------------
Thu Dec 7 20:53:21 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-audioread
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,13 +16,11 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-audioread
Version: 3.0.1
Release: 0
Summary: Wrapper for audio decoding via selectable backends
License: MIT
Group: Development/Languages/Python
URL: https://github.com/beetbox/audioread
Source0: https://github.com/beetbox/audioread/archive/v%{version}.tar.gz
BuildRequires: %{python_module base}
@ -31,10 +29,10 @@ BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: ffmpeg
BuildRequires: ffmpeg-5
BuildRequires: python-rpm-macros
BuildArch: noarch
Recommends: ffmpeg
Recommends: ffmpeg-5
Recommends: python-gobject
Recommends: python-pymad
Recommends: typelib(Gst) = 1.0
@ -59,6 +57,7 @@ currently supports:
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
@ -66,6 +65,7 @@ currently supports:
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/audioread
%{python_sitelib}/audioread-%{version}.dist-info
%changelog