From 53bafd2d36aa3456471dd22c15164c9962ab267148de45d7c3952caa5858da4c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 2 Apr 2024 23:45:22 +0000 Subject: [PATCH] - 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 --- python-audioread.changes | 7 +++++++ python-audioread.spec | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-audioread.changes b/python-audioread.changes index 4cead72..45815e5 100644 --- a/python-audioread.changes +++ b/python-audioread.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 2 23:44:17 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-audioread.spec b/python-audioread.spec index 548303a..da8105a 100644 --- a/python-audioread.spec +++ b/python-audioread.spec @@ -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