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